third iteration of stubs

This commit is contained in:
Maxim Kurnikov
2018-08-11 00:19:50 +03:00
parent fa718b8e55
commit c6bceb19f4
216 changed files with 16306 additions and 3006 deletions

View File

@@ -1,4 +1,5 @@
from typing import Any, Collection, Dict, List, Optional, Set, Tuple, Union
from datetime import date
from typing import Any, Dict, Iterator, List, Optional, Set, Tuple, Union
ETAG_MATCH: Any
MONTHS: Any
@@ -13,19 +14,34 @@ def urlquote(url: str, safe: str = ...) -> str: ...
def urlquote_plus(url: str, safe: str = ...) -> str: ...
def urlunquote(quoted_url: str) -> str: ...
def urlunquote_plus(quoted_url: str) -> str: ...
def urlencode(query: Collection, doseq: bool = ...) -> str: ...
def urlencode(
query: Union[
Dict[str, Iterator[Any]],
Dict[str, List[bytes]],
Dict[str, List[int]],
Dict[str, Union[Tuple[str, str, str], str]],
Dict[str, Union[int, str]],
Dict[str, bytearray],
Dict[str, bytes],
Dict[str, date],
List[Union[Tuple[str, int], Tuple[str, str]]],
Tuple[Tuple[str, int], Tuple[str, int], Tuple[str, int]],
str,
],
doseq: bool = ...,
) -> str: ...
def cookie_date(epoch_seconds: float = ...) -> str: ...
def http_date(epoch_seconds: float = ...) -> str: ...
def http_date(epoch_seconds: Union[float, int] = ...) -> str: ...
def parse_http_date(date: str) -> int: ...
def parse_http_date_safe(date: str) -> Optional[int]: ...
def base36_to_int(
s: Union[Dict[int, int], float, str, Tuple[int, int, int]]
s: Union[Dict[int, int], Tuple[int, int, int], float, int, str]
) -> int: ...
def int_to_base36(
i: Union[Dict[int, int], float, str, Tuple[int, int, int]]
i: Union[Dict[int, int], Tuple[int, int, int], float, int, str]
) -> str: ...
def urlsafe_base64_encode(s: bytes) -> bytes: ...
def urlsafe_base64_decode(s: Union[str, bytes]) -> bytes: ...
def urlsafe_base64_decode(s: Union[bytes, str]) -> bytes: ...
def parse_etags(etag_str: str) -> List[str]: ...
def quote_etag(etag_str: str) -> str: ...
def is_same_domain(host: str, pattern: str) -> bool: ...