Skip to content

Commit 3135c0f

Browse files
committed
pass original and override by kw
1 parent 6775bef commit 3135c0f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,7 @@ def check_method_override_for_base_with_name(
19891989
pass
19901990
else:
19911991
self.msg.signature_incompatible_with_supertype(
1992-
defn.name, name, base.name, context, original_type, typ
1992+
defn.name, name, base.name, context, original=original_type, override=typ
19931993
)
19941994
return False
19951995

mypy/messages.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,7 @@ def signature_incompatible_with_supertype(
11361136
name_in_super: str,
11371137
supertype: str,
11381138
context: Context,
1139+
*,
11391140
original: ProperType,
11401141
override: ProperType,
11411142
) -> None:

0 commit comments

Comments
 (0)