Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee
2019-04-13 01:40:52 -07:00
committed by Sebastian Rittau
parent b3c76aab49
commit efb67946f8
458 changed files with 9135 additions and 9135 deletions

View File

@@ -4,23 +4,23 @@ _T = TypeVar('_T')
class Popen3:
sts = ... # type: int
cmd = ... # type: Iterable
pid = ... # type: int
tochild = ... # type: TextIO
fromchild = ... # type: TextIO
childerr = ... # type: Optional[TextIO]
sts: int
cmd: Iterable
pid: int
tochild: TextIO
fromchild: TextIO
childerr: Optional[TextIO]
def __init__(self, cmd: Iterable = ..., capturestderr: bool = ..., bufsize: int = ...) -> None: ...
def __del__(self) -> None: ...
def poll(self, _deadstate: _T = ...) -> Union[int, _T]: ...
def wait(self) -> int: ...
class Popen4(Popen3):
childerr = ... # type: None
cmd = ... # type: Iterable
pid = ... # type: int
tochild = ... # type: TextIO
fromchild = ... # type: TextIO
childerr: None
cmd: Iterable
pid: int
tochild: TextIO
fromchild: TextIO
def __init__(self, cmd: Iterable = ..., bufsize: int = ...) -> None: ...
def popen2(cmd: Iterable = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO]: ...