diff options
author | David Lord <davidism@gmail.com> | 2020-01-26 21:12:52 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2020-01-26 21:12:52 -0800 |
commit | 4a59ac9514d2ec3cfd8a38780ce81a250e31b692 (patch) | |
tree | fbf137fd6a5c333ced32436e33b614b1fb722a93 /src/jinja/meta.py | |
parent | 4ec93a454b9b0a95f3772d56ebdac25702268f68 (diff) | |
download | jinja2-4a59ac9514d2ec3cfd8a38780ce81a250e31b692.tar.gz |
Revert "rename imports to jinja"
This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
Diffstat (limited to 'src/jinja/meta.py')
-rw-r--r-- | src/jinja/meta.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jinja/meta.py b/src/jinja/meta.py index f37141d..3795aac 100644 --- a/src/jinja/meta.py +++ b/src/jinja/meta.py @@ -32,7 +32,7 @@ def find_undeclared_variables(ast): variables will be used depending on the path the execution takes at runtime, all variables are returned. - >>> from jinja import Environment, meta + >>> from jinja2 import Environment, meta >>> env = Environment() >>> ast = env.parse('{% set foo = 42 %}{{ bar + foo }}') >>> meta.find_undeclared_variables(ast) == set(['bar']) @@ -56,7 +56,7 @@ def find_referenced_templates(ast): imports. If dynamic inheritance or inclusion is used, `None` will be yielded. - >>> from jinja import Environment, meta + >>> from jinja2 import Environment, meta >>> env = Environment() >>> ast = env.parse('{% extends "layout.html" %}{% include helper %}') >>> list(meta.find_referenced_templates(ast)) |