mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
request.pyi: Change Union[] -> Any for attributing status. (#3045)
Fixes #3026
This commit is contained in:
committed by
Sebastian Rittau
parent
e4a9cd580c
commit
8e7c32846f
@@ -13,7 +13,7 @@ import sys
|
||||
import os
|
||||
|
||||
_T = TypeVar('_T')
|
||||
_UrlopenRet = Union[_HTTPResponse, addinfourl]
|
||||
_UrlopenRet = Any
|
||||
|
||||
class _HTTPResponse(HTTPResponse):
|
||||
url: str
|
||||
|
||||
Reference in New Issue
Block a user