summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorianb <devnull@localhost>2009-04-20 05:11:26 +0000
committerianb <devnull@localhost>2009-04-20 05:11:26 +0000
commit735fae637886de777e4596840d539ff05b5e16e8 (patch)
tree85b88f4f89a81f7c89aed5e432db847f4a89e4ce /docs
parentfd6022f84ce8ee0fbb14d85ed846cabb31a5d56f (diff)
downloadtempita-735fae637886de777e4596840d539ff05b5e16e8.tar.gz
Allow non-dictionary namespaces. Add line_offset argument
Diffstat (limited to 'docs')
-rw-r--r--docs/index.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/index.txt b/docs/index.txt
index 44d412d..b1e8095 100644
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -476,6 +476,13 @@ News
svn trunk
---------
+* Added a ``line_offset`` constructor argument, which can be used to
+ adjust the line numbers reported in error messages (e.g., if a
+ template is embedded in a file).
+
+* Allow non-dictionary namespace objects (with
+ ``tmpl.substitute(namespace)`` (in Python 2.5+).
+
* Instead of defining ``__name__`` in template namespaces (which has special
rules, and must be a module name) the template name is put into
``__template_name__``. This became important in Python 2.5.