We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23fc4cf commit aa9fccfCopy full SHA for aa9fccf
unpythonic/syntax/scopeanalyzer.py
@@ -346,6 +346,8 @@ def examine(self, tree):
346
# TODO: `try`, even inside the `except` blocks, will be bound in the whole parent scope.
347
for h in tree.handlers:
348
self.collect(h.name)
349
+ # Python 3.12+: `TypeAlias` uses a name in `Store` context on its LHS so it needs no special handling here.
350
+
351
# Same note as for for loops.
352
# elif type(tree) in (With, AsyncWith):
353
# for item in tree.items:
0 commit comments