[Lxml-checkins] r32369 - lxml/trunk/src/lxml
scoder at codespeak.net
scoder at codespeak.net
Fri Sep 15 17:41:03 CEST 2006
Author: scoder
Date: Fri Sep 15 17:40:58 2006
New Revision: 32369
Modified:
lxml/trunk/src/lxml/objectify.pyx
Log:
fixed wrong C function name
Modified: lxml/trunk/src/lxml/objectify.pyx
==============================================================================
--- lxml/trunk/src/lxml/objectify.pyx (original)
+++ lxml/trunk/src/lxml/objectify.pyx Fri Sep 15 17:40:58 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