Skip to content

Commit b50ff5f

Browse files
committed
Ignore away all the errors
1 parent a79bb75 commit b50ff5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/functools.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class _SingleDispatchCallable(Generic[_P, _T]):
205205
# @fun.register(complex)
206206
# def _(arg, verbose=False): ...
207207
@overload
208-
def register(
208+
def register( # type: ignore[overload-overlap]
209209
self, cls: type[_S], func: None = None
210210
) -> Callable[[Callable[Concatenate[_S, _P], _T]], Callable[Concatenate[_S, _P], _T]]: ...
211211
# @fun.register
@@ -239,7 +239,7 @@ class singledispatchmethod(Generic[_P, _T]):
239239
) -> Callable[[Callable[Concatenate[_S, _P], _T]], Callable[Concatenate[_S, _P], _T]]: ...
240240

241241
@overload
242-
def register(
242+
def register( # type: ignore[overload-overlap]
243243
self, cls: type[_S], method: None = None
244244
) -> Callable[[Callable[Concatenate[_S, _P], _T]], Callable[Concatenate[_S, _P], _T]]: ...
245245
@overload

0 commit comments

Comments
 (0)