Mercurial > genshi > mirror
diff genshi/template/markup.py @ 425:073640758a42 trunk
Try to use proper reStructuredText for docstrings throughout.
author | cmlenz |
---|---|
date | Thu, 22 Mar 2007 12:45:18 +0000 |
parents | 5d08a744636e |
children | 55c574767df2 |
line wrap: on
line diff
--- a/genshi/template/markup.py +++ b/genshi/template/markup.py @@ -32,6 +32,9 @@ else: _ctxt2dict = lambda ctxt: ctxt +__all__ = ['MarkupTemplate'] +__docformat__ = 'restructuredtext en' + class MarkupTemplate(Template): """Implementation of the template language for XML-based templates. @@ -221,8 +224,8 @@ yield kind, data, pos def _exec(self, stream, ctxt): - """Internal stream filter that executes code in <?python ?> processing - instructions. + """Internal stream filter that executes code in ``<?python ?>`` + processing instructions. """ for event in stream: if event[0] is EXEC: