8000 bpo-40067 : Improve error messages for multiple star expressions in assignment by furkanonder · Pull Request #19168 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-40067 : Improve error messages for multiple star expressions in assignment #19168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Mar 26, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Python/compile.c
Co-Authored-By: Batuhan Taşkaya <isidentical@gmail.com>
  • Loading branch information
furkanonder and isidentical authored Mar 25, 2020
commit 4fa5893dcf848fa17bcfd7e3737459c26a2956f6
2 changes: 1 addition & 1 deletion Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -3708,7 +3708,7 @@ assignment_helper(struct compiler *c, asdl_seq *elts)
}
else if (elt->kind == Starred_kind) {
return compiler_error(c,
"more than one starred expressions in assignment");
"multiple starred expressions in assignment");
}
}
if (!seen_star) {
Expand Down
0