[Lxml-checkins] r51107 - in lxml/trunk: . src/lxml

scoder at codespeak.net scoder at codespeak.net
Tue Jan 29 08:14:05 CET 2008


Author: scoder
Date: Tue Jan 29 08:14:03 2008
New Revision: 51107

Modified:
   lxml/trunk/   (props changed)
   lxml/trunk/src/lxml/lxml.etree.pyx
Log:
 r3361 at delle:  sbehnel | 2008-01-29 08:12:56 +0100
 docstring update


Modified: lxml/trunk/src/lxml/lxml.etree.pyx
==============================================================================
--- lxml/trunk/src/lxml/lxml.etree.pyx	(original)
+++ lxml/trunk/src/lxml/lxml.etree.pyx	Tue Jan 29 08:14:03 2008
@@ -661,9 +661,8 @@
             _appendChild(self, element)
 
     def clear(self):
-        """Resets an element. This function removes all subelements,
-        clears all attributes and sets the text and tail
-        attributes to None.
+        """Resets an element.  This function removes all subelements, clears
+        all attributes and sets the text and tail properties to None.
         """
         cdef xmlAttr* c_attr
         cdef xmlAttr* c_attr_next
@@ -1666,6 +1665,10 @@
 
 
 cdef class _Attrib:
+    """A proxy for the ``Element.attrib`` property.
+
+    Behaves as a normal Python dict.
+    """
     cdef _Element _element
     def __init__(self, _Element element not None):
         self._element = element


More information about the lxml-checkins mailing list