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.
urllib.request.urlopen
urllib.response.addinfourl | http.client.HTTPResponse
1 parent bbbf753 commit 595c30eCopy full SHA for 595c30e
stdlib/urllib/request.pyi
@@ -49,7 +49,7 @@ if sys.version_info < (3, 14):
49
__all__ += ["URLopener", "FancyURLopener"]
50
51
_T = TypeVar("_T")
52
-_UrlopenRet: TypeAlias = Any
+_UrlopenRet: TypeAlias = addinfourl | HTTPResponse
53
_DataType: TypeAlias = ReadableBuffer | SupportsRead[bytes] | Iterable[bytes] | None
54
55
if sys.version_info >= (3, 13):
0 commit comments