Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 9, 2025
commit b6d168accdbbec7d5b7ecb851811f7aad2555c51
2 changes: 1 addition & 1 deletion mypy/scope.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def module_scope(self, prefix: str) -> Iterator[None]:
self.module = prefix
self.classes = []
self.function = None
self.functions=[] # reset the function stack when entering a new module
self.functions = [] # reset the function stack when entering a new module
self.ignored = 0
yield
assert self.module
Expand Down