From 06d9f47ef5c2a46722edef2fadd48dfbaa633a76 Mon Sep 17 00:00:00 2001 From: Jukka Lehtosalo Date: Fri, 25 Feb 2022 19:27:26 +0000 Subject: [PATCH] Minor comment tweaks --- mypy/renaming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mypy/renaming.py b/mypy/renaming.py index aa16d6dc8dd2..ae21631f0f0a 100644 --- a/mypy/renaming.py +++ b/mypy/renaming.py @@ -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]]]] = []