Skip to content
Snippets Groups Projects
Unverified Commit dc091204 authored by zikcheng's avatar zikcheng Committed by GitHub
Browse files

gh-92632: Make function starunpack_helper run faster when encounters starred argument. (GH-92655)

parent 87f849c7
No related branches found
No related tags found
No related merge requests found
...@@ -4375,6 +4375,7 @@ starunpack_helper(struct compiler *c, asdl_expr_seq *elts, int pushed, ...@@ -4375,6 +4375,7 @@ starunpack_helper(struct compiler *c, asdl_expr_seq *elts, int pushed,
expr_ty elt = asdl_seq_GET(elts, i); expr_ty elt = asdl_seq_GET(elts, i);
if (elt->kind == Starred_kind) { if (elt->kind == Starred_kind) {
seen_star = 1; seen_star = 1;
break;
} }
} }
if (!seen_star && !big) { if (!seen_star && !big) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment