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