mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Unicode fixes for url2pathname() and pathname2url() (#2555)
This commit is contained in:
committed by
Sebastian Rittau
parent
f2e842b2d9
commit
48183b1d27
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user