aboutsummaryrefslogtreecommitdiffstats
path: root/mako/cache.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-03-29 21:08:30 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-03-29 21:08:30 -0400
commit6e7ad2da8279152468de43482ac1cf453bc1a2df (patch)
tree97f973e7c8229314c54912fab3a97f5166aa9577 /mako/cache.py
parent6fe1a4b73e20cfe21f3f17611c96e3d150e17a99 (diff)
parent0c191842df938a295a6850beaa91bd6fcb5d50c5 (diff)
downloadexternal_python_mako-6e7ad2da8279152468de43482ac1cf453bc1a2df.tar.gz
external_python_mako-6e7ad2da8279152468de43482ac1cf453bc1a2df.tar.bz2
external_python_mako-6e7ad2da8279152468de43482ac1cf453bc1a2df.zip
- merge the mako-loop branch, bump to 0.7
Diffstat (limited to 'mako/cache.py')
-rw-r--r--mako/cache.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/mako/cache.py b/mako/cache.py
index 34736ce..5692cc2 100644
--- a/mako/cache.py
+++ b/mako/cache.py
@@ -134,13 +134,17 @@ class Cache(object):
self.impl.invalidate(key, **self._get_cache_kw(kw, None))
def invalidate_body(self):
- """Invalidate the cached content of the "body" method for this template.
+ """Invalidate the cached content of the "body" method for this
+ template.
"""
self.invalidate('render_body', __M_defname='render_body')
def invalidate_def(self, name):
- """Invalidate the cached content of a particular <%def> within this template."""
+ """Invalidate the cached content of a particular <%def> within this
+ template.
+
+ """
self.invalidate('render_%s' % name, __M_defname='render_%s' % name)