diff markup/plugin.py @ 29:4b6cee37ce62

* 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 b8456279c444
children 822089ae65ce
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:
Copyright (C) 2012-2017 Edgewall Software