We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92c5785 commit 46fc776Copy full SHA for 46fc776
stdlib/urllib/error.pyi
@@ -9,6 +9,8 @@ class URLError(IOError):
9
def __init__(self, reason: str | BaseException, filename: str | None = ...) -> None: ...
10
11
class HTTPError(URLError, addinfourl):
12
+ @property
13
+ def headers(self) -> Message: ... # type: ignore[override]
14
@property
15
def reason(self) -> str: ... # type: ignore[override]
16
code: int
0 commit comments