Unicode fixes for url2pathname() and pathname2url() (#2555)

This commit is contained in:
Michael R. Crusoe
2018-11-29 15:28:07 +02:00
committed by Sebastian Rittau
parent f2e842b2d9
commit 48183b1d27

View File

@@ -1,7 +1,7 @@
from typing import Any, AnyStr, IO, List, Mapping, Sequence, Text, Tuple, TypeVar, Union
def url2pathname(pathname: str) -> str: ...
def pathname2url(pathname: str) -> str: ...
def url2pathname(pathname: AnyStr) -> AnyStr: ...
def pathname2url(pathname: AnyStr) -> AnyStr: ...
def urlopen(url: str, data=..., proxies: Mapping[str, str] = ..., context=...) -> IO[Any]: ...
def urlretrieve(url, filename=..., reporthook=..., data=..., context=...): ...
def urlcleanup() -> None: ...