massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2 / popen2.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2/popen2.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2/popen2.pyi
new file mode 100644 (file)
index 0000000..d0f8929
--- /dev/null
@@ -0,0 +1,28 @@
+from typing import Any, Iterable, List, Optional, Union, TextIO, Tuple, TypeVar\r
+\r
+_T = TypeVar('_T')\r
+\r
+\r
+class Popen3:\r
+    sts = ...  # type: int\r
+    cmd = ...  # type: Iterable\r
+    pid = ...  # type: int\r
+    tochild = ...  # type: TextIO\r
+    fromchild = ...  # type: TextIO\r
+    childerr = ...  # type: Optional[TextIO]\r
+    def __init__(self, cmd: Iterable = ..., capturestderr: bool = ..., bufsize: int = ...) -> None: ...\r
+    def __del__(self) -> None: ...\r
+    def poll(self, _deadstate: _T = ...) -> Union[int, _T]: ...\r
+    def wait(self) -> int: ...\r
+\r
+class Popen4(Popen3):\r
+    childerr = ...  # type: None\r
+    cmd = ...  # type: Iterable\r
+    pid = ...  # type: int\r
+    tochild = ...  # type: TextIO\r
+    fromchild = ...  # type: TextIO\r
+    def __init__(self, cmd: Iterable = ..., bufsize: int = ...) -> None: ...\r
+\r
+def popen2(cmd: Iterable = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO]: ...\r
+def popen3(cmd: Iterable = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO, TextIO]: ...\r
+def popen4(cmd: Iterable = ..., bufsize: int = ..., mode: str = ...) -> Tuple[TextIO, TextIO]: ...\r