mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Fix os.wait and os.waitpid annotations on python 2.
This commit is contained in:
@@ -158,8 +158,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