From 43769d64c53e4c8a3f4aafe23112f28deaa7d414 Mon Sep 17 00:00:00 2001 From: scoder Date: Mon, 17 Nov 2008 23:23:45 +0100 Subject: [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 --- src/lxml/python.pxd | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lxml/python.pxd') 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) -- cgit v1.2.1