diff options
| author | Hugo <hugovk@users.noreply.github.com> | 2018-08-25 20:53:59 +0300 |
|---|---|---|
| committer | Hugo <hugovk@users.noreply.github.com> | 2018-08-25 20:53:59 +0300 |
| commit | beaa4eb8904b9209d75d98059b5b92b26fdfebe3 (patch) | |
| tree | ef93682f795b4771f8d569af549b8d9d1933ceb4 /src/lxml/python.pxd | |
| parent | 396ded1558c4ea7a3723be994c76304b7c5edff8 (diff) | |
| download | python-lxml-beaa4eb8904b9209d75d98059b5b92b26fdfebe3.tar.gz | |
Remove redundant code for Python <= 2.6
Diffstat (limited to 'src/lxml/python.pxd')
| -rw-r--r-- | src/lxml/python.pxd | 2 |
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) |
