We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea93326 commit feca706Copy full SHA for feca706
mypy/renaming.py
@@ -422,10 +422,10 @@ def __init__(self) -> None:
422
# Short names of variables bound in with statements using "as"
423
# in a surrounding scope
424
self.bound_vars: List[str] = []
425
- # Names that can't be safely renamed, per scope ('*' means that
+ # Stack of names that can't be safely renamed, per scope ('*' means that
426
# no names can be renamed)
427
self.skipped: List[Set[str]] = []
428
- # References to variables that we may need to rename. List of
+ # References to variables that we may need to rename. Stack of
429
# scopes; each scope is a mapping from name to list of collections
430
# of names that refer to the same logical variable.
431
self.refs: List[Dict[str, List[List[NameExpr]]]] = []
0 commit comments