mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Merge pull request #57 from timabbott/tabbott-stubs
Fix several python 2 library stub errors.
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()
|
||||
@@ -158,8 +159,8 @@ def nice(increment: int) -> int: ...
|
||||
def startfile(path: unicode, operation: str) -> None: ...
|
||||
def system(command: unicode) -> int: ...
|
||||
def times() -> Tuple[float, float, float, float, float]: ...
|
||||
def wait() -> int: ...
|
||||
def waitpid(pid: int, options: int) -> int:
|
||||
def wait() -> Tuple[int, int]: ... # Unix only
|
||||
def waitpid(pid: int, options: int) -> Tuple[int, int]:
|
||||
raise OSError()
|
||||
# TODO: wait3, wait4, W...
|
||||
def confstr(name: Union[str, int]) -> Optional[str]: ...
|
||||
|
||||
Reference in New Issue
Block a user