Use PyTuple_GET_SIZE like the adjacent code does.

This commit is contained in:
Raymond Hettinger 2015-08-18 08:07:16 -07:00
parent 507343a2ef
commit 501b4a7398
1 changed files with 1 additions and 1 deletions

View File

@ -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;