Skip to content

Commit 57827f8

Browse files
author
Ikko Ashimine
authored
Fix typo in compile.c (GH-24812)
guranteed -> guaranteed
1 parent 307745a commit 57827f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5754,7 +5754,7 @@ compiler_pattern_mapping(struct compiler *c, expr_ty p, pattern_context *pc)
57545754
asdl_expr_seq *keys = p->v.Dict.keys;
57555755
asdl_expr_seq *values = p->v.Dict.values;
57565756
Py_ssize_t size = asdl_seq_LEN(values);
5757-
// A starred pattern will be a keyless value. It is guranteed to be last:
5757+
// A starred pattern will be a keyless value. It is guaranteed to be last:
57585758
int star = size ? !asdl_seq_GET(keys, size - 1) : 0;
57595759
ADDOP(c, MATCH_MAPPING);
57605760
ADDOP_JUMP(c, POP_JUMP_IF_FALSE, fail_pop_1);

0 commit comments

Comments
 (0)