Skip to content
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions mypy/renaming.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,10 @@ def __init__(self) -> None:
# Short names of variables bound in with statements using "as"
# in a surrounding scope
self.bound_vars: List[str] = []
# Names that can't be safely renamed, per scope ('*' means that
# Stack of names that can't be safely renamed, per scope ('*' means that
# no names can be renamed)
self.skipped: List[Set[str]] = []
# References to variables that we may need to rename. List of
# References to variables that we may need to rename. Stack of
# scopes; each scope is a mapping from name to list of collections
# of names that refer to the same logical variable.
self.refs: List[Dict[str, List[List[NameExpr]]]] = []
Expand Down