mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 05:04:44 +08:00
Add some urllib annotations also for Python 3 (#4951)
This commit is contained in:
1 parent
8f7ce5be26
commit
a7a6a32b0d
2 files changed
+3
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user