From a610a59ddb22b4ed8589cf63535b9ac56f744c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20S=C5=82awecki?= Date: Sat, 3 Jan 2026 11:08:42 +0100 Subject: [PATCH] Fix dunder name typo in compiler code comment (GH-143374) (cherry picked from commit 6d05e55de0f9c0b07fb14b4d2b9cf9c8eee2042c) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartosz Sławecki --- Python/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/compile.c b/Python/compile.c index e2f1c7e8eb5bce..a0430b07d476d3 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -628,7 +628,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__));