massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / werkzeug / _compat.pyi
1 import sys\r
2 from typing import Any\r
3 \r
4 if sys.version_info < (3,):\r
5     import StringIO as BytesIO\r
6 else:\r
7     from io import StringIO as BytesIO\r
8 \r
9 PY2 = ...  # type: Any\r
10 WIN = ...  # type: Any\r
11 unichr = ...  # type: Any\r
12 text_type = ...  # type: Any\r
13 string_types = ...  # type: Any\r
14 integer_types = ...  # type: Any\r
15 iterkeys = ...  # type: Any\r
16 itervalues = ...  # type: Any\r
17 iteritems = ...  # type: Any\r
18 iterlists = ...  # type: Any\r
19 iterlistvalues = ...  # type: Any\r
20 int_to_byte = ...  # type: Any\r
21 iter_bytes = ...  # type: Any\r
22 \r
23 def fix_tuple_repr(obj): ...\r
24 def implements_iterator(cls): ...\r
25 def implements_to_string(cls): ...\r
26 def native_string_result(func): ...\r
27 def implements_bool(cls): ...\r
28 \r
29 range_type = ...  # type: Any\r
30 NativeStringIO = ...  # type: Any\r
31 \r
32 def make_literal_wrapper(reference): ...\r
33 def normalize_string_tuple(tup): ...\r
34 def try_coerce_native(s): ...\r
35 \r
36 wsgi_get_bytes = ...  # type: Any\r
37 \r
38 def wsgi_decoding_dance(s, charset='', errors=''): ...\r
39 def wsgi_encoding_dance(s, charset='', errors=''): ...\r
40 def to_bytes(x, charset=..., errors=''): ...\r
41 def to_native(x, charset=..., errors=''): ...\r
42 def reraise(tp, value, tb=None): ...\r
43 \r
44 imap = ...  # type: Any\r
45 izip = ...  # type: Any\r
46 ifilter = ...  # type: Any\r
47 \r
48 def to_unicode(x, charset=..., errors='', allow_none_charset=False): ...\r