Skip to content

Commit fca010d

Browse files
[3.14] Fix dunder name typo in compiler code comment (GH-143374) (#143386)
Fix dunder name typo in compiler code comment (GH-143374) (cherry picked from commit 6d05e55) Co-authored-by: Bartosz Sławecki <[email protected]>
1 parent ebe5e21 commit fca010d

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
@@ -628,7 +628,7 @@ _PyCompile_EnterScope(compiler *c, identifier name, int scope_type,
628628
}
629629
}
630630
if (u->u_ste->ste_has_conditional_annotations) {
631-
/* Cook up an implicit __conditional__annotations__ cell */
631+
/* Cook up an implicit __conditional_annotations__ cell */
632632
Py_ssize_t res;
633633
assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
634634
res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));

0 commit comments

Comments
 (0)