summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-06-20 05:42:30 (GMT)
committerGitHub <noreply@github.com>2024-06-20 05:42:30 (GMT)
commit3846fcfb928753bd52265ba67a9b4ceae51d2ef3 (patch)
treeb9928064ad41163dfb87f0a9032405a2e37aa5a2
parentb8a8e04fec76ad7f7c3e5149114dd2ee8a5caecc (diff)
downloadcpython-3846fcfb928753bd52265ba67a9b4ceae51d2ef3.zip
cpython-3846fcfb928753bd52265ba67a9b4ceae51d2ef3.tar.gz
cpython-3846fcfb928753bd52265ba67a9b4ceae51d2ef3.tar.bz2
gh-119698: symtable: Fix merge race (#120779)
-rw-r--r--Lib/symtable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py
index fee3c43..221aaf8 100644
--- a/Lib/symtable.py
+++ b/Lib/symtable.py
@@ -250,7 +250,7 @@ class Class(SymbolTable):
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