mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -97,10 +97,10 @@ class ZipExtFile(io.BufferedIOBase):
|
||||
close_fileobj: Literal[False] = ...,
|
||||
) -> None: ...
|
||||
def read(self, n: int | None = ...) -> bytes: ...
|
||||
def readline(self, limit: int = ...) -> bytes: ... # type: ignore
|
||||
def readline(self, limit: int = ...) -> bytes: ... # type: ignore[override]
|
||||
def __repr__(self) -> str: ...
|
||||
def peek(self, n: int = ...) -> bytes: ...
|
||||
def read1(self, n: int | None) -> bytes: ... # type: ignore
|
||||
def read1(self, n: int | None) -> bytes: ... # type: ignore[override]
|
||||
if sys.version_info >= (3, 7):
|
||||
def seek(self, offset: int, whence: int = ...) -> int: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user