diff options
author | David Lord <davidism@gmail.com> | 2020-01-10 13:42:02 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2020-01-10 13:42:02 -0800 |
commit | 51c1c8efa6f4cd3d4eff270f8c3ceb20362af7bb (patch) | |
tree | 136e569e5ebbba2d43485aca181b07438eac6412 /src/jinja2/sandbox.py | |
parent | e492255f270add52d051ef4f8e87899f40e57687 (diff) | |
download | jinja2-style.tar.gz |
simplify module docstringsstyle
Diffstat (limited to 'src/jinja2/sandbox.py')
-rw-r--r-- | src/jinja2/sandbox.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/jinja2/sandbox.py b/src/jinja2/sandbox.py index d806b63..af4a96e 100644 --- a/src/jinja2/sandbox.py +++ b/src/jinja2/sandbox.py @@ -1,16 +1,6 @@ # -*- coding: utf-8 -*- -""" - jinja2.sandbox - ~~~~~~~~~~~~~~ - - Adds a sandbox layer to Jinja as it was the default behavior in the old - Jinja 1 releases. This sandbox is slightly different from Jinja 1 as the - default behavior is easier to use. - - The behavior can be changed by subclassing the environment. - - :copyright: (c) 2017 by the Jinja Team. - :license: BSD. +"""A sandbox layer that ensures unsafe operations cannot be performed. +Useful when the template itself comes from an untrusted source. """ import operator import types |