mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Add missing type hints to atexit.register() (#571)
This commit is contained in:
committed by
Guido van Rossum
parent
ed97067f6d
commit
34b343ba66
@@ -5,5 +5,5 @@ from typing import Any, Callable
|
||||
def _clear() -> None: ...
|
||||
def _ncallbacks() -> int: ...
|
||||
def _run_exitfuncs() -> None: ...
|
||||
def register(func: Callable[..., Any], *args, **kwargs) -> Callable[..., Any]: ...
|
||||
def register(func: Callable[..., Any], *args: Any, **kwargs: Any) -> Callable[..., Any]: ...
|
||||
def unregister(func: Callable[..., Any]) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user