Kaydet (Commit) 501b4a73 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Use PyTuple_GET_SIZE like the adjacent code does.

üst 507343a2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment