From 3846fcfb928753bd52265ba67a9b4ceae51d2ef3 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Wed, 19 Jun 2024 22:42:30 -0700 Subject: gh-119698: symtable: Fix merge race (#120779) --- Lib/symtable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12