From beaa4eb8904b9209d75d98059b5b92b26fdfebe3 Mon Sep 17 00:00:00 2001 From: Hugo Date: Sat, 25 Aug 2018 20:53:59 +0300 Subject: Remove redundant code for Python <= 2.6 --- src/lxml/python.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lxml/python.pxd') 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) -- cgit v1.2.1