Skip to content

Commit 330f7af

Browse files
committed
Minor code simplification
1 parent be5e608 commit 330f7af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypy/subtypes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,5 +2152,4 @@ def is_erased_instance(t: Instance) -> bool:
21522152
return False
21532153
elif not isinstance(get_proper_type(arg), AnyType):
21542154
return False
2155-
else:
2156-
return True
2155+
return True

0 commit comments

Comments
 (0)