[Lxml-checkins] r32370 - lxml/branch/lxml-1.1/src/lxml

scoder at codespeak.net scoder at codespeak.net
Fri Sep 15 17:43:20 CEST 2006


Author: scoder
Date: Fri Sep 15 17:43:17 2006
New Revision: 32370

Modified:
   lxml/branch/lxml-1.1/src/lxml/objectify.pyx
Log:
fixed wrong C function name

Modified: lxml/branch/lxml-1.1/src/lxml/objectify.pyx
==============================================================================
--- lxml/branch/lxml-1.1/src/lxml/objectify.pyx	(original)
+++ lxml/branch/lxml-1.1/src/lxml/objectify.pyx	Fri Sep 15 17:43:17 2006
@@ -1478,7 +1478,7 @@
     NOTE: requires parser based element class lookup activated in lxml.etree!
     """
     if attrib is not None:
-        if python.PyDict_GetSize(_attributes):
+        if python.PyDict_Size(_attributes):
             attrib.update(_attributes)
         _attributes = attrib
     if _pytype is None:
@@ -1497,7 +1497,7 @@
     """
     cdef _Element element
     if attrib is not None:
-        if python.PyDict_GetSize(_attributes):
+        if python.PyDict_Size(_attributes):
             attrib.update(_attributes)
         _attributes = attrib
     if _xsi is not None:


More information about the lxml-checkins mailing list