Skip to content

Commit 37e6bef

Browse files
Update mypy/checker.py
1 parent aebeb8f commit 37e6bef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2154,7 +2154,7 @@ def check_method_override_for_base_with_name(
21542154
override_class_or_static,
21552155
context,
21562156
)
2157-
elif isinstance(original_type, UnionType) and any(
2157+
elif isinstance(original_type,UnionType) and any(
21582158
is_subtype(orig_typ, typ, ignore_pos_arg_names=True)
21592159
for orig_typ in original_type.items
21602160
):

0 commit comments

Comments
 (0)