]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix dunder name typo in compiler code comment (#143374)
authorBartosz Sławecki <bartosz@ilikepython.com>
Sat, 3 Jan 2026 10:08:42 +0000 (11:08 +0100)
committerGitHub <noreply@github.com>
Sat, 3 Jan 2026 10:08:42 +0000 (10:08 +0000)
Python/compile.c

index 6951c98500dfec14d05b7d28412ce8826bd5a46b..1ab96a37f683f2bd48c35c3a487eb7635a4e36a5 100644 (file)
@@ -634,7 +634,7 @@ _PyCompile_EnterScope(compiler *c, identifier name, int scope_type,
         }
     }
     if (u->u_ste->ste_has_conditional_annotations) {
-        /* Cook up an implicit __conditional__annotations__ cell */
+        /* Cook up an implicit __conditional_annotations__ cell */
         Py_ssize_t res;
         assert(u->u_scope_type == COMPILE_SCOPE_CLASS || u->u_scope_type == COMPILE_SCOPE_MODULE);
         res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__conditional_annotations__));