summaryrefslogtreecommitdiff
path: root/jinja2/_compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'jinja2/_compat.py')
-rw-r--r--jinja2/_compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jinja2/_compat.py b/jinja2/_compat.py
index 63e331d..ccfb18e 100644
--- a/jinja2/_compat.py
+++ b/jinja2/_compat.py
@@ -17,7 +17,6 @@ _identity = lambda x: x
if not PY2:
-
unichr = chr
range_type = range
text_type = str
@@ -45,6 +44,7 @@ if not PY2:
implements_to_string = _identity
encode_filename = _identity
get_next = lambda x: x.__next__
+
else:
unichr = unichr
text_type = unicode