Various stubtest exceptions (#5227)

This commit is contained in:
hatal175
2021-04-17 17:03:28 +03:00
committed by GitHub
parent 4d734e38dd
commit c9d996fe55
10 changed files with 108 additions and 70 deletions

View File

@@ -59,6 +59,8 @@ class ZipExtFile(io.BufferedIOBase):
decrypter: Optional[Callable[[Sequence[int]], bytes]] = ...,
close_fileobj: bool = ...,
) -> None: ...
def read(self, n: Optional[int] = ...) -> bytes: ...
def readline(self, limit: int = ...) -> bytes: ... # type: ignore
def __repr__(self) -> str: ...
def peek(self, n: int = ...) -> bytes: ...
def read1(self, n: Optional[int]) -> bytes: ... # type: ignore