Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jul 29, 2023
1 parent 12e94db commit f1441cf
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 @@ -149,7 +149,6 @@ def check_namedtuple_classdef(
default_items: dict[str, Expression] = {}
statements: list[Statement] = []
for stmt in defn.defs.body:
# Processing fields of a namedtuple:
if not isinstance(stmt, AssignmentStmt):
# Still allow pass or ... (for empty namedtuples).
if isinstance(stmt, PassStmt) or (
Expand Down

0 comments on commit f1441cf

Please sign in to comment.