diff options
| author | scoder <none@none> | 2009-10-17 01:18:39 +0200 |
|---|---|---|
| committer | scoder <none@none> | 2009-10-17 01:18:39 +0200 |
| commit | b302a55dada1e85175a5713637227ac8eb5055ff (patch) | |
| tree | c10fbb0aa4b050069ed49669e386044af570d883 /src/lxml/python.pxd | |
| parent | 95e1b718c614240f5424c850cc776c48b38b9e58 (diff) | |
| download | python-lxml-b302a55dada1e85175a5713637227ac8eb5055ff.tar.gz | |
[svn r4233] r5283@delle: sbehnel | 2009-10-17 01:16:46 +0200
fix PyBytes/PyString usage
--HG--
branch : trunk
Diffstat (limited to 'src/lxml/python.pxd')
| -rw-r--r-- | src/lxml/python.pxd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd index 94ca06a7..cbf41a8a 100644 --- a/src/lxml/python.pxd +++ b/src/lxml/python.pxd @@ -23,8 +23,8 @@ cdef extern from "Python.h": cdef bint PyUnicode_Check(object obj) cdef bint PyUnicode_CheckExact(object obj) - cdef bint PyString_Check(object obj) - cdef bint PyString_CheckExact(object obj) + cdef bint PyBytes_Check(object obj) + cdef bint PyBytes_CheckExact(object obj) cdef object PyUnicode_FromEncodedObject(object s, char* encoding, char* errors) |
