aboutsummaryrefslogtreecommitdiff
path: root/src/jinja2/__init__.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-26 22:23:36 -0800
committerDavid Lord <davidism@gmail.com>2020-01-26 22:23:36 -0800
commit984997913cc2eb1a00e1b8787c3d3ada5dd359c7 (patch)
tree2ae99348d852558cf57e1a4df1233037ee097e69 /src/jinja2/__init__.py
parentc6d864cf8975415bd4ffee17f29e37f95969c8c9 (diff)
downloadjinja-984997913cc2eb1a00e1b8787c3d3ada5dd359c7.tar.gz
import Markup from markupsafe, fix flake8 import warnings
Diffstat (limited to 'src/jinja2/__init__.py')
-rw-r--r--src/jinja2/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jinja2/__init__.py b/src/jinja2/__init__.py
index 9c4c9cfc..8149c702 100644
--- a/src/jinja2/__init__.py
+++ b/src/jinja2/__init__.py
@@ -3,6 +3,9 @@
non-XML syntax that supports inline expressions and an optional
sandboxed environment.
"""
+from markupsafe import escape
+from markupsafe import Markup
+
from .bccache import BytecodeCache
from .bccache import FileSystemBytecodeCache
from .bccache import MemcachedBytecodeCache
@@ -34,10 +37,8 @@ from .runtime import Undefined
from .utils import clear_caches
from .utils import contextfunction
from .utils import environmentfunction
-from .utils import escape
from .utils import evalcontextfunction
from .utils import is_undefined
-from .utils import Markup
from .utils import select_autoescape
-__version__ = "2.11.0.dev0"
+__version__ = "2.11.0rc2"