:license: BSD, see LICENSE for more details.
"""
import re
-from _compat import text_type, string_types, int_types, \
+from ._compat import text_type, string_types, int_types, \
unichr, PY2
try:
from _speedups import escape, escape_silent, soft_unicode
except ImportError:
- from _native import escape, escape_silent, soft_unicode
+ from ._native import escape, escape_silent, soft_unicode
if not PY2:
soft_str = soft_unicode
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
-from _compat import text_type
+from ._compat import text_type
def escape(s):
# Imported here because that's where it was in the past
-from markupsafe import Markup, escape, soft_unicode
+from .markupsafe import Markup, escape, soft_unicode