Skip to content

Commit aa9fccf

Browse files
committed
add comment
1 parent 23fc4cf commit aa9fccf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unpythonic/syntax/scopeanalyzer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ def examine(self, tree):
346346
# TODO: `try`, even inside the `except` blocks, will be bound in the whole parent scope.
347347
for h in tree.handlers:
348348
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+
349351
# Same note as for for loops.
350352
# elif type(tree) in (With, AsyncWith):
351353
# for item in tree.items:

0 commit comments

Comments
 (0)