diff options
Diffstat (limited to 'docs/index.txt')
-rw-r--r-- | docs/index.txt | 7 |
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. |