massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / uu.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/uu.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/uu.pyi
new file mode 100644 (file)
index 0000000..c46f894
--- /dev/null
@@ -0,0 +1,13 @@
+# Stubs for uu (Python 2 and 3)\r
+import sys\r
+from typing import BinaryIO, Union, Optional, Text\r
+\r
+_File = Union[Text, BinaryIO]\r
+\r
+class Error(Exception): ...\r
+\r
+if sys.version_info >= (3, 7):\r
+    def encode(in_file: _File, out_file: _File, name: Optional[str] = ..., mode: Optional[int] = ..., backtick: bool = ...) -> None: ...\r
+else:\r
+    def encode(in_file: _File, out_file: _File, name: Optional[str] = ..., mode: Optional[int] = ...) -> None: ...\r
+def decode(in_file: _File, out_file: Optional[_File] = ..., mode: Optional[int] = ..., quiet: int = ...) -> None: ...\r