mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Fix urllib3.response.HTTPResponse.geturl() return type (#8704)
urllib3.response.HTTPResponse.geturl() return should be `str | None`.
Source: 3951d3cf8f/src/urllib3/response.py (L416-L417)
This commit is contained in:
@@ -99,4 +99,4 @@ class HTTPResponse(io.IOBase):
|
||||
def readinto(self, b: bytearray) -> int: ...
|
||||
def supports_chunked_reads(self) -> bool: ...
|
||||
def read_chunked(self, amt: int | None = ..., decode_content: bool | None = ...) -> Iterator[bytes]: ...
|
||||
def geturl(self) -> bool | str: ...
|
||||
def geturl(self) -> str | None: ...
|
||||
|
||||
Reference in New Issue
Block a user