summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2011-11-09 20:54:09 +0100
committerStefan Behnel <stefan_ml@behnel.de>2011-11-09 20:54:09 +0100
commit4e390237504a8fff30a886e2becd7b61baa9838c (patch)
treebafbad9c5e9bcc9399397a753c4327c999867573
parentf7fd6bbd9a7ab0c43c784b58b9219112d5fa9378 (diff)
downloadpython-lxml-4e390237504a8fff30a886e2becd7b61baa9838c.tar.gz
minor cleanup
-rw-r--r--src/lxml/lxml.objectify.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lxml/lxml.objectify.pyx b/src/lxml/lxml.objectify.pyx
index 6d369d73..730ae8ca 100644
--- a/src/lxml/lxml.objectify.pyx
+++ b/src/lxml/lxml.objectify.pyx
@@ -931,8 +931,8 @@ cdef inline object _numericValueOf(obj):
return obj
cdef inline _richcmpPyvals(left, right, int op):
- left = getattr3(left, u'pyval', left)
- right = getattr3(right, u'pyval', right)
+ left = getattr(left, u'pyval', left)
+ right = getattr(right, u'pyval', right)
return python.PyObject_RichCompare(left, right, op)