diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2024-06-20 05:42:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 05:42:30 (GMT) |
commit | 3846fcfb928753bd52265ba67a9b4ceae51d2ef3 (patch) | |
tree | b9928064ad41163dfb87f0a9032405a2e37aa5a2 | |
parent | b8a8e04fec76ad7f7c3e5149114dd2ee8a5caecc (diff) | |
download | cpython-3846fcfb928753bd52265ba67a9b4ceae51d2ef3.zip cpython-3846fcfb928753bd52265ba67a9b4ceae51d2ef3.tar.gz cpython-3846fcfb928753bd52265ba67a9b4ceae51d2ef3.tar.bz2 |
gh-119698: symtable: Fix merge race (#120779)
-rw-r--r-- | Lib/symtable.py | 2 |
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 |