summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Python/compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 45944ae85e..51ef8fd17a 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -4375,6 +4375,7 @@ starunpack_helper(struct compiler *c, asdl_expr_seq *elts, int pushed,
expr_ty elt = asdl_seq_GET(elts, i);
if (elt->kind == Starred_kind) {
seen_star = 1;
+ break;
}
}
if (!seen_star && !big) {