Skip to content

Commit feca706

Browse files
authored
renaming: minor comment tweaks (#12255)
1 parent ea93326 commit feca706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/renaming.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@ def __init__(self) -> None:
422422
# Short names of variables bound in with statements using "as"
423423
# in a surrounding scope
424424
self.bound_vars: List[str] = []
425-
# Names that can't be safely renamed, per scope ('*' means that
425+
# Stack of names that can't be safely renamed, per scope ('*' means that
426426
# no names can be renamed)
427427
self.skipped: List[Set[str]] = []
428-
# References to variables that we may need to rename. List of
428+
# References to variables that we may need to rename. Stack of
429429
# scopes; each scope is a mapping from name to list of collections
430430
# of names that refer to the same logical variable.
431431
self.refs: List[Dict[str, List[List[NameExpr]]]] = []

0 commit comments

Comments
 (0)