mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add missing stub for os.exit on python 2.
This commit is contained in:
@@ -141,7 +141,8 @@ def unlink(path: unicode) -> None: ...
|
||||
def utime(path: unicode, times: Optional[Tuple[int, int]]) -> None: ...
|
||||
|
||||
def abort() -> None: ...
|
||||
# TODO: exec*, _exit, EX_*
|
||||
# TODO: exec*, EX_*
|
||||
def _exit(n: int) -> None: ...
|
||||
|
||||
def fork() -> int:
|
||||
raise OSError()
|
||||
|
||||
Reference in New Issue
Block a user