Add some urllib annotations also for Python 3 (#4951)

This commit is contained in:
Philipp Hahn authored and GitHub committed 2021-01-20 11:29:18 +01:00
1 parent 8f7ce5be26
commit a7a6a32b0d
2 files changed
+3

No files matched your search

+2
View File
@@ -58,8 +58,10 @@ class Request:
selector: str
data: Optional[bytes]
headers: Dict[str, str]
unredirected_hdrs: Dict[str, str]
unverifiable: bool
method: Optional[str]
timeout: Optional[float] # Undocumented, only set after __init__() by OpenerDirector.open()
def __init__(
self,
url: str,