aboutsummaryrefslogtreecommitdiff
path: root/src/jinja2/lexer.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-10 13:42:02 -0800
committerDavid Lord <davidism@gmail.com>2020-01-10 13:42:02 -0800
commit51c1c8efa6f4cd3d4eff270f8c3ceb20362af7bb (patch)
tree136e569e5ebbba2d43485aca181b07438eac6412 /src/jinja2/lexer.py
parente492255f270add52d051ef4f8e87899f40e57687 (diff)
downloadjinja-51c1c8efa6f4cd3d4eff270f8c3ceb20362af7bb.tar.gz
simplify module docstrings
Diffstat (limited to 'src/jinja2/lexer.py')
-rw-r--r--src/jinja2/lexer.py18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/jinja2/lexer.py b/src/jinja2/lexer.py
index 7c53d5d4..a2b44e92 100644
--- a/src/jinja2/lexer.py
+++ b/src/jinja2/lexer.py
@@ -1,18 +1,8 @@
# -*- coding: utf-8 -*-
-"""
- jinja2.lexer
- ~~~~~~~~~~~~
-
- This module implements a Jinja / Python combination lexer. The
- `Lexer` class provided by this module is used to do some preprocessing
- for Jinja.
-
- On the one hand it filters out invalid operators like the bitshift
- operators we don't allow in templates. On the other hand it separates
- template code and python code in expressions.
-
- :copyright: (c) 2017 by the Jinja Team.
- :license: BSD, see LICENSE for more details.
+"""Implements a Jinja / Python combination lexer. The ``Lexer`` class
+is used to do some preprocessing. It filters out invalid operators like
+the bitshift operators we don't allow in templates. It separates
+template code and python code in expressions.
"""
import re
from ast import literal_eval