Small changes by @rowilla to collections.pyi and urllib/requests.pyi.

(Extracted from PR #530.)
This commit is contained in:
Roy Williams
2016-09-09 16:12:30 -07:00
committed by Guido van Rossum
parent f7f9c956ff
commit 1b30761802
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ from typing import (
MutableMapping as MutableMapping,
Sequence as Sequence,
MutableSequence as MutableSequence,
MutableSet as MutableSet,
AbstractSet as Set,
)

View File

@@ -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):