massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2 / popen2.pyi
1 from typing import Any, Iterable, List, Optional, Union, TextIO, Tuple, TypeVar\r
2 \r
3 _T = TypeVar('_T')\r
4 \r
5 \r
6 class Popen3:\r
7     sts = ...  # type: int\r
8     cmd = ...  # type: Iterable\r
9     pid = ...  # type: int\r
10     tochild = ...  # type: TextIO\r
11     fromchild = ...  # type: TextIO\r
12     childerr = ...  # type: Optional[TextIO]\r
13     def __init__(self, cmd: Iterable = ..., capturestderr: bool = ..., bufsize: int = ...) -> None: ...\r
14     def __del__(self) -> None: ...\r
15     def poll(self, _deadstate: _T = ...) -> Union[int, _T]: ...\r
16     def wait(self) -> int: ...\r
17 \r
18 class Popen4(Popen3):\r
19     childerr = ...  # type: None\r
20     cmd = ...  # type: Iterable\r
21     pid = ...  # type: int\r
22     tochild = ...  # type: TextIO\r
23     fromchild = ...  # type: TextIO\r
24     def __init__(self, cmd: Iterable = ..., bufsize: int = ...) -> None: ...\r
25 \r
26 def popen2(cmd: Iterable = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO]: ...\r
27 def popen3(cmd: Iterable = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO, TextIO]: ...\r
28 def popen4(cmd: Iterable = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO]: ...\r