diff options
author | Adrian Moennich <adrian@planetcoding.net> | 2019-10-12 16:18:34 +0200 |
---|---|---|
committer | Adrian Moennich <adrian@planetcoding.net> | 2019-10-13 16:32:02 +0200 |
commit | c4d39969e2c230b3d503833bb59f6d0b572216d7 (patch) | |
tree | 870f474cc678cd32386f7614c0b509daceeb48d1 /docs | |
parent | 464e4934d1788aa4a0f989a2494ca97129dcb7f9 (diff) | |
download | jinja-c4d39969e2c230b3d503833bb59f6d0b572216d7.tar.gz |
Use separate undefined object for CondExpr
Diffstat (limited to 'docs')
-rw-r--r-- | docs/templates.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/templates.rst b/docs/templates.rst index f6fb609b..13b693b7 100644 --- a/docs/templates.rst +++ b/docs/templates.rst @@ -1355,7 +1355,8 @@ The general syntax is ``<do something> if <something is true> else <do something else>``. The `else` part is optional. If not provided, the else block implicitly -evaluates into an undefined object: +evaluates into an undefined object (using the environment's undefined object +specified in ``cond_expr_undefined``): .. sourcecode:: jinja |