Add missing type hints to atexit.register() (#571)

This commit is contained in:
Sebastian Meßmer authored and Guido van Rossum committed 2016-09-23 13:35:55 -07:00
1 parent ed97067f6d
commit 34b343ba66
1 file changed
+1 -1
+1 -1
View File
@@ -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: ...