massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / chunk.pyi
1 # Source(py2): https://hg.python.org/cpython/file/2.7/Lib/chunk.py\r
2 # Source(py3): https://github.com/python/cpython/blob/master/Lib/chunk.py\r
3 \r
4 from typing import IO\r
5 \r
6 class Chunk:\r
7     closed = ...  # type: bool\r
8     align = ...  # type: bool\r
9     file = ...  # type: IO[bytes]\r
10     chunkname = ...  # type: bytes\r
11     chunksize = ...  # type: int\r
12     size_read = ...  # type: int\r
13     offset = ...  # type: int\r
14     seekable = ...  # type: bool\r
15     def __init__(self, file: IO[bytes], align: bool = ..., bigendian: bool = ..., inclheader: bool = ...) -> None: ...\r
16     def getname(self) -> bytes: ...\r
17     def getsize(self) -> int: ...\r
18     def close(self) -> None: ...\r
19     def isatty(self) -> bool: ...\r
20     def seek(self, pos: int, whence: int = ...) -> None: ...\r
21     def tell(self) -> int: ...\r
22     def read(self, size: int = ...) -> bytes: ...\r
23     def skip(self) -> None: ...\r