diff options
Diffstat (limited to 'mako/cache.py')
-rw-r--r-- | mako/cache.py | 8 |
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) |