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

scoder at codespeak.net scoder at codespeak.net
Sat Sep 15 21:12:27 CEST 2007


Author: scoder
Date: Sat Sep 15 21:12:25 2007
New Revision: 46650

Modified:
   lxml/trunk/src/lxml/etree.pyx
Log:
un-deprecate getchildren() - still helpful in objectify

Modified: lxml/trunk/src/lxml/etree.pyx
==============================================================================
--- lxml/trunk/src/lxml/etree.pyx	(original)
+++ lxml/trunk/src/lxml/etree.pyx	Sat Sep 15 21:12:25 2007
@@ -976,12 +976,6 @@
         """
         cdef xmlNode* c_node
         cdef int ret
-        import warnings
-        warnings.warn(
-            "This method will be removed in future versions. "
-            "Use 'list(elem)' or iteration over elem instead.",
-            DeprecationWarning
-            )
         result = []
         c_node = self._c_node.children
         while c_node is not NULL:


More information about the lxml-checkins mailing list