mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Small changes by @rowilla to collections.pyi and urllib/requests.pyi.
(Extracted from PR #530.)
This commit is contained in:
committed by
Guido van Rossum
parent
f7f9c956ff
commit
1b30761802
@@ -17,6 +17,7 @@ from typing import (
|
||||
MutableMapping as MutableMapping,
|
||||
Sequence as Sequence,
|
||||
MutableSequence as MutableSequence,
|
||||
MutableSet as MutableSet,
|
||||
AbstractSet as Set,
|
||||
)
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ def build_opener(*handlers: Union[BaseHandler, Callable[[], BaseHandler]]) \
|
||||
def url2pathname(path: str) -> str: ...
|
||||
def pathname2url(path: str) -> str: ...
|
||||
def getproxies() -> Dict[str, str]: ...
|
||||
|
||||
def parse_http_list(s: str) -> List[str]: ...
|
||||
|
||||
class Request:
|
||||
if sys.version_info >= (3, 4):
|
||||
|
||||
Reference in New Issue
Block a user