https://github.com/python/cpython/commit/3846fcfb928753bd52265ba67a9b4ceae51d2ef3
commit: 3846fcfb928753bd52265ba67a9b4ceae51d2ef3
branch: main
author: Jelle Zijlstra <[email protected]>
committer: JelleZijlstra <[email protected]>
date: 2024-06-20T05:42:30Z
summary:

gh-119698: symtable: Fix merge race (#120779)

files:
M Lib/symtable.py

diff --git a/Lib/symtable.py b/Lib/symtable.py
index fee3c43163f6c2..221aaf88d41670 100644
--- a/Lib/symtable.py
+++ b/Lib/symtable.py
@@ -250,7 +250,7 @@ def is_local_symbol(ident):
                     match st.type:
                         case _symtable.TYPE_FUNCTION:
                             d[st.name] = 1
-                        case _symtable.TYPE_TYPE_PARAM:
+                        case _symtable.TYPE_TYPE_PARAMETERS:
                             # Get the function-def block in the annotation
                             # scope 'st' with the same identifier, if any.
                             scope_name = st.name

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to