massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / markupsafe / _compat.pyi
1 import sys\r
2 \r
3 from typing import Any, Iterator, Mapping, Text, Tuple, TypeVar\r
4 \r
5 _K = TypeVar('_K')\r
6 _V = TypeVar('_V')\r
7 \r
8 PY2 = ...  # type: bool\r
9 def iteritems(d: Mapping[_K, _V]) -> Iterator[Tuple[_K, _V]]: ...\r
10 if sys.version_info[0] >= 3:\r
11     text_type = str\r
12     string_types = str,\r
13     unichr = chr\r
14     int_types = int,\r
15 else:\r
16     text_type = unicode\r
17     string_types = (str, unicode)\r
18     unichr = __builtins__.unichr\r
19     int_types = (int, long)\r