summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorFurkan Önder <furkanonder@protonmail.com>2020-03-26 01:54:31 (GMT)
committerGitHub <noreply@github.com>2020-03-26 01:54:31 (GMT)
commitcb6534e1a8833b3f20bd88f52cf62a003426e855 (patch)
tree691181f5f30f288f69e5a561ad817d381ed6fd1e /Python
parent5c3cda0d1a850a1a9b43892f48376b8876bd5863 (diff)
downloadcpython-cb6534e1a8833b3f20bd88f52cf62a003426e855.zip
cpython-cb6534e1a8833b3f20bd88f52cf62a003426e855.tar.gz
cpython-cb6534e1a8833b3f20bd88f52cf62a003426e855.tar.bz2
bpo-40067: Improve error messages for multiple star expressions in assignments (GH-19168)
Co-Authored-By: Batuhan Taşkaya <isidentical@gmail.com> Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 0b3926c..01700e0 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -3708,7 +3708,7 @@ assignment_helper(struct compiler *c, asdl_seq *elts)
}
else if (elt->kind == Starred_kind) {
return compiler_error(c,
- "two starred expressions in assignment");
+ "multiple starred expressions in assignment");
}
}
if (!seen_star) {