massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / chunk.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/chunk.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/stdlib/2and3/chunk.pyi
new file mode 100644 (file)
index 0000000..4330a3c
--- /dev/null
@@ -0,0 +1,23 @@
+# Source(py2): https://hg.python.org/cpython/file/2.7/Lib/chunk.py\r
+# Source(py3): https://github.com/python/cpython/blob/master/Lib/chunk.py\r
+\r
+from typing import IO\r
+\r
+class Chunk:\r
+    closed = ...  # type: bool\r
+    align = ...  # type: bool\r
+    file = ...  # type: IO[bytes]\r
+    chunkname = ...  # type: bytes\r
+    chunksize = ...  # type: int\r
+    size_read = ...  # type: int\r
+    offset = ...  # type: int\r
+    seekable = ...  # type: bool\r
+    def __init__(self, file: IO[bytes], align: bool = ..., bigendian: bool = ..., inclheader: bool = ...) -> None: ...\r
+    def getname(self) -> bytes: ...\r
+    def getsize(self) -> int: ...\r
+    def close(self) -> None: ...\r
+    def isatty(self) -> bool: ...\r
+    def seek(self, pos: int, whence: int = ...) -> None: ...\r
+    def tell(self) -> int: ...\r
+    def read(self, size: int = ...) -> bytes: ...\r
+    def skip(self) -> None: ...\r