diff markup/builder.py @ 182:41db0260ebb1

Renamed `Attributes` to `Attrs` to reduce the verbosity.
author cmlenz
date Mon, 21 Aug 2006 20:03:13 +0000
parents b9a0031d4bbb
children
line wrap: on
line diff
--- a/markup/builder.py
+++ b/markup/builder.py
@@ -11,7 +11,7 @@
 # individuals. For the exact contribution history, see the revision
 # history and logs, available at http://markup.edgewall.org/log/.
 
-from markup.core import Attributes, Namespace, QName, Stream, START, END, TEXT
+from markup.core import Attrs, Namespace, QName, Stream, START, END, TEXT
 
 __all__ = ['Fragment', 'Element', 'tag']
 
@@ -157,7 +157,7 @@
     def __init__(self, tag_, **attrib):
         Fragment.__init__(self)
         self.tag = QName(tag_)
-        self.attrib = Attributes()
+        self.attrib = Attrs()
         for attr, value in attrib.items():
             if value is not None:
                 if not isinstance(value, basestring):
Copyright (C) 2012-2017 Edgewall Software