summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-08-25 20:53:59 +0300
committerHugo <hugovk@users.noreply.github.com>2018-08-25 20:53:59 +0300
commitbeaa4eb8904b9209d75d98059b5b92b26fdfebe3 (patch)
treeef93682f795b4771f8d569af549b8d9d1933ceb4 /src/lxml/python.pxd
parent396ded1558c4ea7a3723be994c76304b7c5edff8 (diff)
downloadpython-lxml-beaa4eb8904b9209d75d98059b5b92b26fdfebe3.tar.gz
Remove redundant code for Python <= 2.6
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 5eb9271c..0d26cdd5 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -29,7 +29,7 @@ cdef extern from "Python.h":
char* encoding, char* errors)
cdef cython.unicode PyUnicode_DecodeUTF8(char* s, Py_ssize_t size, char* errors)
cdef cython.unicode PyUnicode_DecodeLatin1(char* s, Py_ssize_t size, char* errors)
- cdef object PyUnicode_RichCompare(object o1, object o2, int op) # not in Py2.4
+ cdef object PyUnicode_RichCompare(object o1, object o2, int op)
cdef bytes PyUnicode_AsUTF8String(object ustring)
cdef bytes PyUnicode_AsASCIIString(object ustring)
cdef char* PyUnicode_AS_DATA(object ustring)