Skip to content

Commit

Permalink
pythongh-119698: symtable: Fix merge race
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra committed Jun 20, 2024
1 parent b8a8e04 commit d4ca048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/symtable.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4ca048

Please sign in to comment.