Add some missing python 3 urllib.parse stubs.

This commit is contained in:
Tim Abbott
2016-01-26 15:22:24 -08:00
committed by Tim Abbott
parent 9e62b7df06
commit 8f3f56d07f

View File

@@ -19,6 +19,14 @@ __all__ = (
'unquote_to_bytes'
)
uses_relative = [] # type: List[str]
uses_netloc = [] # type: List[str]
uses_params = [] # type: List[str]
non_hierarchical = [] # type: List[str]
uses_query = [] # type: List[str]
uses_fragment = [] # type: List[str]
scheme_chars = ... # type: str
MAX_CACHE_SIZE = 0
class _ResultMixinBase(Generic[AnyStr]):
def geturl(self) -> AnyStr: ...
@@ -90,6 +98,8 @@ def unquote(string: str, encoding: str = ..., errors: str = ...) -> str: ...
def unquote_to_bytes(string: AnyStr) -> bytes: ...
def unquote_plus(string: str, encoding: str = ..., errors: str = ...) -> str: ...
@overload
def urldefrag(url: str) -> DefragResult: ...
@overload