mirror of https://github.com/python/cpython
gh-92632: Make function starunpack_helper run faster when encounters starred argument. (GH-92655)
This commit is contained in:
parent
87f849c775
commit
dc091204f9
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue