Skip to content

Commit 1edb1d2

Browse files
Remove bogus TODO added in #18585 (#18603)
Removes todo added in #18585 - such normalization is not technically correct when a tuple is used as a base class. --------- Co-authored-by: Ivan Levkivskyi <[email protected]>
1 parent 7548cd1 commit 1edb1d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mypy/checker.py

-1
Original file line numberDiff line numberDiff line change
@@ -8517,7 +8517,6 @@ def visit_type_var(self, t: TypeVarType) -> bool:
85178517

85188518
def visit_tuple_type(self, t: TupleType, /) -> bool:
85198519
# Exclude fallback to avoid bogus "need type annotation" errors
8520-
# TODO: Maybe erase plain tuples used as fallback in TupleType constructor?
85218520
return self.query_types(t.items)
85228521

85238522

0 commit comments

Comments
 (0)