summaryrefslogtreecommitdiff
path: root/src/lxml/python.pxd
diff options
context:
space:
mode:
authorscoder <none@none>2010-12-29 19:59:27 +0100
committerscoder <none@none>2010-12-29 19:59:27 +0100
commitb52756f12c00a38510c7942e26ba5b8664826124 (patch)
treedbbcfb1797a2e05b1f50e98c748800f6744d6a1c /src/lxml/python.pxd
parent6019ba8c0d763c29c4d4c378412a0e933ccdf0e8 (diff)
downloadpython-lxml-b52756f12c00a38510c7942e26ba5b8664826124.tar.gz
[svn r4505] code cleanup: drop clumsy redeclaration of builtin types known in Cython 0.14
--HG-- branch : trunk
Diffstat (limited to 'src/lxml/python.pxd')
-rw-r--r--src/lxml/python.pxd8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd
index 1dec5465..911780fa 100644
--- a/src/lxml/python.pxd
+++ b/src/lxml/python.pxd
@@ -12,14 +12,6 @@ cdef extern from "Python.h":
cdef void Py_DECREF(object o)
cdef void Py_XDECREF(PyObject* o)
- ctypedef class __builtin__.slice [object PySliceObject]:
- cdef object start
- cdef object stop
- cdef object step
-
- ctypedef class __builtin__.unicode [object PyUnicodeObject]:
- pass
-
cdef FILE* PyFile_AsFile(object p)
cdef bint PyUnicode_Check(object obj)