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

scoder at codespeak.net scoder at codespeak.net
Thu Oct 25 10:14:06 CEST 2007


Author: scoder
Date: Thu Oct 25 10:14:06 2007
New Revision: 47894

Modified:
   lxml/trunk/src/lxml/apihelpers.pxi
Log:
cleanup

Modified: lxml/trunk/src/lxml/apihelpers.pxi
==============================================================================
--- lxml/trunk/src/lxml/apihelpers.pxi	(original)
+++ lxml/trunk/src/lxml/apihelpers.pxi	Thu Oct 25 10:14:06 2007
@@ -845,19 +845,6 @@
 
     return 0
 
-cdef _fillUpChildrenSlice(_Element sibling, elements, bint append_right):
-    cdef _Element element
-    if append_right:
-        for element in elements:
-            assert element is not None, "Node must not be None"
-            _appendSibling(sibling, element)
-            sibling = element
-    else:
-        for element in elements:
-            assert element is not None, "Node must not be None"
-            _prependSibling(sibling, element)
-            sibling = element
-
 cdef int _appendChild(_Element parent, _Element child) except -1:
     """Append a new child to a parent element.
     """


More information about the lxml-checkins mailing list