Remove ParamSpec-related # type: ignores (#6703)

This commit is contained in:
Alex Waygood authored and GitHub committed 2021-12-26 15:27:57 +01:00
1 parent d065ee4aef
commit a54e21992c
6 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -7,5 +7,5 @@ _P = ParamSpec("_P")
def _clear() -> None: ...
def _ncallbacks() -> int: ...
def _run_exitfuncs() -> None: ...
def register(func: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> Callable[_P, _T]: ... # type: ignore
def register(func: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> Callable[_P, _T]: ...
def unregister(func: Callable[..., Any]) -> None: ...