diff options
| author | scoder <none@none> | 2008-11-17 23:23:45 +0100 |
|---|---|---|
| committer | scoder <none@none> | 2008-11-17 23:23:45 +0100 |
| commit | 43769d64c53e4c8a3f4aafe23112f28deaa7d414 (patch) | |
| tree | 7ae9c457ce2c01b48fb04ed5489e2b5a17510513 /src/lxml/python.pxd | |
| parent | 327c20ae6fe61bf38cc40627d678b2b8929e4f9f (diff) | |
| download | python-lxml-43769d64c53e4c8a3f4aafe23112f28deaa7d414.tar.gz | |
[svn r4020] r4875@delle: sbehnel | 2008-11-17 23:22:34 +0100
code cleanup: use list.append() instead of PyList_Append() and let Cython do the rest
--HG--
branch : trunk
Diffstat (limited to 'src/lxml/python.pxd')
| -rw-r--r-- | src/lxml/python.pxd | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lxml/python.pxd b/src/lxml/python.pxd index d100ad84..8bc20e68 100644 --- a/src/lxml/python.pxd +++ b/src/lxml/python.pxd @@ -55,8 +55,6 @@ cdef extern from "Python.h": cdef Py_ssize_t PyList_GET_SIZE(object l) cdef object PyList_GET_ITEM(object l, Py_ssize_t index) cdef void PyList_SET_ITEM(object l, Py_ssize_t index, object value) - cdef int PyList_Append(object l, object obj) except -1 - cdef int PyList_Reverse(object l) except -1 cdef int PyList_Insert(object l, Py_ssize_t index, object o) except -1 cdef object PyList_AsTuple(object l) cdef void PyList_Clear(object l) |
