Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Technologicat committed Sep 27, 2024
1 parent 23fc4cf commit aa9fccf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unpythonic/syntax/scopeanalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ def examine(self, tree):
# TODO: `try`, even inside the `except` blocks, will be bound in the whole parent scope.
for h in tree.handlers:
self.collect(h.name)
# Python 3.12+: `TypeAlias` uses a name in `Store` context on its LHS so it needs no special handling here.

# Same note as for for loops.
# elif type(tree) in (With, AsyncWith):
# for item in tree.items:
Expand Down

0 comments on commit aa9fccf

Please sign in to comment.