Use PyTuple_GET_SIZE like the adjacent code does.
This commit is contained in:
parent
507343a2ef
commit
501b4a7398
|
@ -1158,7 +1158,7 @@ map_next(mapobject *lz)
|
|||
PyObject *result;
|
||||
Py_ssize_t numargs, i;
|
||||
|
||||
numargs = PyTuple_Size(lz->iters);
|
||||
numargs = PyTuple_GET_SIZE(lz->iters);
|
||||
argtuple = PyTuple_New(numargs);
|
||||
if (argtuple == NULL)
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue