diff options
Diffstat (limited to 'markupsafe/_compat.py')
-rw-r--r-- | markupsafe/_compat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/markupsafe/_compat.py b/markupsafe/_compat.py index 10627a6..29e4a3d 100644 --- a/markupsafe/_compat.py +++ b/markupsafe/_compat.py @@ -15,10 +15,10 @@ PY2 = sys.version_info[0] == 2 if not PY2: text_type = str string_types = (str,) - imap = map unichr = chr + int_types = (int,) else: text_type = unicode string_types = (str, unicode) - from itertools import imap unichr = unichr + int_types = (int, long) |