]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in compile.c (GH-24812)
authorIkko Ashimine <eltociear@gmail.com>
Wed, 10 Mar 2021 10:39:51 +0000 (19:39 +0900)
committerGitHub <noreply@github.com>
Wed, 10 Mar 2021 10:39:51 +0000 (10:39 +0000)
guranteed -> guaranteed

Python/compile.c

index b0d3127ff6878feaba4859223dc78a6821b5a1a0..a841288520b880b5e548431a96e7005a2e904a21 100644 (file)
@@ -5754,7 +5754,7 @@ compiler_pattern_mapping(struct compiler *c, expr_ty p, pattern_context *pc)
     asdl_expr_seq *keys = p->v.Dict.keys;
     asdl_expr_seq *values = p->v.Dict.values;
     Py_ssize_t size = asdl_seq_LEN(values);
-    // A starred pattern will be a keyless value. It is guranteed to be last:
+    // A starred pattern will be a keyless value. It is guaranteed to be last:
     int star = size ? !asdl_seq_GET(keys, size - 1) : 0;
     ADDOP(c, MATCH_MAPPING);
     ADDOP_JUMP(c, POP_JUMP_IF_FALSE, fail_pop_1);