massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / tty.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/tty.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/tty.pyi
new file mode 100644 (file)
index 0000000..b8fac92
--- /dev/null
@@ -0,0 +1,17 @@
+# Stubs for tty (Python 3.6)\r
+\r
+from typing import IO, Union\r
+\r
+_FD = Union[int, IO[str]]\r
+\r
+# XXX: Undocumented integer constants\r
+IFLAG = ...  # type: int\r
+OFLAG = ...  # type: int\r
+CFLAG = ...  # type: int\r
+LFLAG = ...  # type: int\r
+ISPEED = ...  # type: int\r
+OSPEED = ...  # type: int\r
+CC = ...  # type: int\r
+\r
+def setraw(fd: _FD, when: int = ...) -> None: ...\r
+def setcbreak(fd: _FD, when: int = ...) -> None: ...\r