[Lxml-checkins] r38999 - lxml/trunk/src/lxml

scoder at codespeak.net scoder at codespeak.net
Fri Feb 16 11:01:27 CET 2007


Author: scoder
Date: Fri Feb 16 11:01:26 2007
New Revision: 38999

Modified:
   lxml/trunk/src/lxml/objectify.pyx
Log:
method docstring

Modified: lxml/trunk/src/lxml/objectify.pyx
==============================================================================
--- lxml/trunk/src/lxml/objectify.pyx	(original)
+++ lxml/trunk/src/lxml/objectify.pyx	Fri Feb 16 11:01:26 2007
@@ -235,6 +235,10 @@
         self.remove(child)
 
     def addattr(self, tag, value):
+        """Add a child value to the element.
+
+        As opposed to append(), it sets a data value, not an element.
+        """
         _appendValue(self, _buildChildTag(self, tag), value)
 
     def __getitem__(self, key):


More information about the lxml-checkins mailing list