Skip to content

Commit

Permalink
Remove a pass left from debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tmke8 committed Nov 4, 2022
1 parent eb21ab1 commit cd4f7d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mypy/semanal_namedtuple.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ def save_namedtuple_body(self, named_tuple_info: TypeInfo) -> Iterator[None]:
elif isinstance(sym.node, Var):
# NamedTuple fields are initialized in the generated __init__.
sym.node.is_uninitialized = False
pass
# Keep existing (user-provided) definitions under mangled names, so they
# get semantically analyzed.
r_key = get_unique_redefinition_name(key, named_tuple_info.names)
Expand Down

0 comments on commit cd4f7d2

Please sign in to comment.