2 from typing import Any
\r
4 if sys.version_info < (3,):
\r
5 import StringIO as BytesIO
\r
7 from io import StringIO as BytesIO
\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
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
29 range_type = ... # type: Any
\r
30 NativeStringIO = ... # type: Any
\r
32 def make_literal_wrapper(reference): ...
\r
33 def normalize_string_tuple(tup): ...
\r
34 def try_coerce_native(s): ...
\r
36 wsgi_get_bytes = ... # type: Any
\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
44 imap = ... # type: Any
\r
45 izip = ... # type: Any
\r
46 ifilter = ... # type: Any
\r
48 def to_unicode(x, charset=..., errors='', allow_none_charset=False): ...
\r