1 from typing import Any, Callable, TypeVar
2 from typing_extensions import ParamSpec
7 def _clear() -> None: ...
8 def _ncallbacks() -> int: ...
9 def _run_exitfuncs() -> None: ...
10 def register(func: Callable[_P, _T], *args: _P.args, **kwargs: _P.kwargs) -> Callable[_P, _T]: ... # type: ignore
11 def unregister(func: Callable[..., Any]) -> None: ...