Skip to content

Commit 63f9438

Browse files
committed
Remove parameters thaat are no longer used
1 parent 0a658a7 commit 63f9438

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mypy/checkexpr.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2619,7 +2619,7 @@ def check_overload_call(
26192619
arg_types = self.infer_arg_types_in_empty_context(args)
26202620
# Step 1: Filter call targets to remove ones where the argument counts don't match
26212621
plausible_targets = self.plausible_overload_call_targets(
2622-
args, arg_types, arg_kinds, arg_names, callee, context
2622+
arg_types, arg_kinds, arg_names, callee
26232623
)
26242624

26252625
# Step 2: If the arguments contain a union, we try performing union math first,
@@ -2777,12 +2777,10 @@ def adjust_generic_callable_params_mapping(
27772777

27782778
def plausible_overload_call_targets(
27792779
self,
2780-
args: list[Expression],
27812780
arg_types: list[Type],
27822781
arg_kinds: list[ArgKind],
27832782
arg_names: Sequence[str | None] | None,
27842783
overload: Overloaded,
2785-
context: Context,
27862784
) -> list[CallableType]:
27872785
"""Returns all overload call targets that having matching argument counts.
27882786

0 commit comments

Comments
 (0)