diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-08-03 14:47:05 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-08-03 14:47:05 -0400 |
commit | 420a0831eedd9c06797f2312b8fcb7d65bc8b025 (patch) | |
tree | 680a7eab755e88c3afe3271986764b367725747f /doc | |
parent | 542ad006a86f14381ee368ac60c2a5e3547a8f0c (diff) | |
download | mako-420a0831eedd9c06797f2312b8fcb7d65bc8b025.tar.gz |
- [bug] The Context.locals_() method becomes a private underscored
method, as this method has a specific internal use. The purpose
of Context.kwargs has been clarified, in that it only delivers
top level keyword arguments originally passed to template.render().
[ticket:219]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/build/namespaces.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/build/namespaces.rst b/doc/build/namespaces.rst index 078b15a..1453b80 100644 --- a/doc/build/namespaces.rst +++ b/doc/build/namespaces.rst @@ -245,9 +245,9 @@ So above, the body might be called as: ${self.body(5, y=10, someval=15, delta=7)} -The :class:`.Context` object also supplies a :attr:`~.Context.kwargs` accessor, for -cases when you'd like to pass along whatever is in the context to -a ``body()`` callable: +The :class:`.Context` object also supplies a :attr:`~.Context.kwargs` +accessor, for cases when you'd like to pass along the top level context +arguments to a ``body()`` callable: .. sourcecode:: mako |