Fix os.wait and os.waitpid annotations on python 2.

This commit is contained in:
Tim Abbott
2016-01-25 16:19:29 -08:00
parent 69169765a7
commit b180914208

View File

@@ -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]: ...