Mercurial > genshi > mirror
diff markup/plugin.py @ 29:ab8703fa68b8 trunk
* Minor simplification of template directives: they no longer get passed the template instance and the position, as no directive was actually using
that information.
* More docstrings.
author | cmlenz |
---|---|
date | Wed, 28 Jun 2006 10:40:39 +0000 |
parents | b4f78c05e5c9 |
children | 59eb24184e9c |
line wrap: on
line diff
--- a/markup/plugin.py +++ b/markup/plugin.py @@ -12,6 +12,10 @@ # individuals. For the exact contribution history, see the revision # history and logs, available at http://markup.cmlenz.net/log/. +"""Basic support for the template engine plugin API used by TurboGears and +CherryPy/Buffet. +""" + import os from pkg_resources import resource_filename @@ -19,6 +23,7 @@ class TemplateEnginePlugin(object): + """Implementation of the plugin API.""" def __init__(self, extra_vars_func=None, options=None): if options is None: