mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
Use PyTuple_GET_SIZE like the adjacent code does.
This commit is contained in:
parent
507343a2ef
commit
501b4a7398
1 changed files with 1 additions and 1 deletions
|
|
@ -1158,7 +1158,7 @@ map_next(mapobject *lz)
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
Py_ssize_t numargs, i;
|
Py_ssize_t numargs, i;
|
||||||
|
|
||||||
numargs = PyTuple_Size(lz->iters);
|
numargs = PyTuple_GET_SIZE(lz->iters);
|
||||||
argtuple = PyTuple_New(numargs);
|
argtuple = PyTuple_New(numargs);
|
||||||
if (argtuple == NULL)
|
if (argtuple == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue