Show More
@@ -873,12 +873,13 b' static PyObject *list_copy(PyObject *lis' | |||
|
873 | 873 | return newlist; |
|
874 | 874 | } |
|
875 | 875 | |
|
876 | static int check_filter(PyObject *filter, Py_ssize_t arg) { | |
|
876 | /* arg should be Py_ssize_t but Python 2.4 do not support the n format */ | |
|
877 | static int check_filter(PyObject *filter, unsigned long arg) { | |
|
877 | 878 | if (filter) { |
|
878 | 879 | PyObject *arglist, *result; |
|
879 | 880 | int isfiltered; |
|
880 | 881 | |
|
881 |
arglist = Py_BuildValue("( |
|
|
882 | arglist = Py_BuildValue("(k)", arg); | |
|
882 | 883 | if (!arglist) { |
|
883 | 884 | return -1; |
|
884 | 885 | } |
General Comments 0
You need to be logged in to leave comments.
Login now