diff genshi/builder.py @ 425:5b248708bbed

Try to use proper reStructuredText for docstrings throughout.
author cmlenz
date Thu, 22 Mar 2007 12:45:18 +0000
parents 3460b04daeac
children e7a4d43c438a
line wrap: on
line diff
--- a/genshi/builder.py
+++ b/genshi/builder.py
@@ -11,9 +11,12 @@
 # individuals. For the exact contribution history, see the revision
 # history and logs, available at http://genshi.edgewall.org/log/.
 
+"""Support for programmatically generating markup streams."""
+
 from genshi.core import Attrs, Namespace, QName, Stream, START, END, TEXT
 
 __all__ = ['Fragment', 'Element', 'tag']
+__docformat__ = 'restructuredtext en'
 
 
 class Fragment(object):
@@ -229,8 +232,8 @@
     def __init__(self, namespace=None):
         """Create the factory, optionally bound to the given namespace.
         
-        @param namespace: the namespace URI for any created elements, or `None`
-            for no namespace
+        :param namespace: the namespace URI for any created elements, or `None`
+                          for no namespace
         """
         if namespace and not isinstance(namespace, Namespace):
             namespace = Namespace(namespace)
Copyright (C) 2012-2017 Edgewall Software