projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55494e4
)
Improved finalize documentation.
author
Armin Ronacher
<armin.ronacher@active-4.com>
Sun, 24 Jan 2010 13:29:26 +0000
(14:29 +0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Sun, 24 Jan 2010 13:29:26 +0000
(14:29 +0100)
--HG--
branch : trunk
jinja2/environment.py
patch
|
blob
|
history
diff --git
a/jinja2/environment.py
b/jinja2/environment.py
index 8983123828ffcea25f54ae883adf48e7589864b9..2f72ecc16103eaf1a0d360193c1300128592ae22 100644
(file)
--- a/
jinja2/environment.py
+++ b/
jinja2/environment.py
@@
-152,8
+152,9
@@
class Environment(object):
undefined values in the template.
`finalize`
- A callable that finalizes the variable. Per default no finalizing
- is applied.
+ A callable that can be used to process the result of a variable
+ expression before it is output. For example one can convert
+ `None` implicitly into an empty string here.
`autoescape`
If set to true the XML/HTML autoescaping feature is enabled.