mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -96,7 +96,7 @@ class HTTPResponse(io.BufferedIOBase, BinaryIO):
|
||||
def read(self, amt: int | None = ...) -> bytes: ...
|
||||
def read1(self, n: int = ...) -> bytes: ...
|
||||
def readinto(self, b: WriteableBuffer) -> int: ...
|
||||
def readline(self, limit: int = ...) -> bytes: ... # type: ignore
|
||||
def readline(self, limit: int = ...) -> bytes: ... # type: ignore[override]
|
||||
@overload
|
||||
def getheader(self, name: str) -> str | None: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user