mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 11:11:26 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user