mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
adding missing includes
This commit is contained in:
@@ -1,18 +1,7 @@
|
||||
"""Stub file for the 'atexit' module."""
|
||||
# This is an autogenerated file. It serves as a starting point
|
||||
# for a more precise manual annotation of this module.
|
||||
# Feel free to edit the source below, but remove this header when you do.
|
||||
|
||||
from typing import Any, List, Tuple, Dict, Generic
|
||||
|
||||
def _clear() -> None: ...
|
||||
|
||||
def _ncallbacks() -> long: ...
|
||||
|
||||
def _ncallbacks() -> int: ...
|
||||
def _run_exitfuncs() -> None: ...
|
||||
|
||||
def register(*args, **kwargs) -> Any:
|
||||
raise MemoryError()
|
||||
raise TypeError()
|
||||
|
||||
def unregister(*args, **kwargs) -> None: ...
|
||||
def register(func: Callable[..., Any], *args, **kwargs) -> Callable[..., Any]: ...
|
||||
def unregister(func: Callable[..., Any]) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user