Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 501b4a7

Browse files
committed
Use PyTuple_GET_SIZE like the adjacent code does.
1 parent 507343a commit 501b4a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ map_next(mapobject *lz)
11581158
PyObject *result;
11591159
Py_ssize_t numargs, i;
11601160

1161-
numargs = PyTuple_Size(lz->iters);
1161+
numargs = PyTuple_GET_SIZE(lz->iters);
11621162
argtuple = PyTuple_New(numargs);
11631163
if (argtuple == NULL)
11641164
return NULL;

0 commit comments

Comments
 (0)