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

This commit is contained in:
Alex Waygood
2021-12-26 14:27:57 +00:00
committed by GitHub
parent d065ee4aef
commit a54e21992c
6 changed files with 10 additions and 9 deletions

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: ...