summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
authorscoder <none@none>2008-01-21 19:39:25 +0100
committerscoder <none@none>2008-01-21 19:39:25 +0100
commite06d2c8d369ba3669b9d1a4944d0adf24cba6584 (patch)
tree1126d72f3280a45a87ab2dd7935ae3842fc13807 /src/lxml/python.pxd
parent5774f8d9c4f0978ec6af5abd268e27c2cc044a4c (diff)
downloadpython-lxml-e06d2c8d369ba3669b9d1a4944d0adf24cba6584.tar.gz
[svn r3181] r3275@delle: sbehnel | 2008-01-21 11:29:56 +0100
fix Py2.4-isms --HG-- branch : trunk
Diffstat (limited to 'src/lxml/python.pxd')
-rw-r--r--src/lxml/python.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd
index cb834b5a..e4997b34 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -66,7 +66,7 @@ cdef extern from "Python.h":
cdef void PyDict_Clear(object d)
cdef object PyDict_Copy(object d)
cdef object PyDictProxy_New(object d)
- cdef int PyDict_Contains(object d, object key) except -1
+ # cdef int PyDict_Contains(object d, object key) except -1 # Python 2.4+
cdef Py_ssize_t PyDict_Size(object d)
cdef object PySequence_List(object o)
cdef object PySequence_Tuple(object o)