summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-08-18 15:07:16 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-08-18 15:07:16 (GMT)
commit501b4a73980d363fca3a69d5999d377f3ae5cc3f (patch)
tree399e165e7ba783f09515b973ed9a5a958ce0c81a /Python/bltinmodule.c
parent507343a2ef4f2992e2c318517b5833d1b1a1fddb (diff)
downloadcpython-501b4a73980d363fca3a69d5999d377f3ae5cc3f.zip
cpython-501b4a73980d363fca3a69d5999d377f3ae5cc3f.tar.gz
cpython-501b4a73980d363fca3a69d5999d377f3ae5cc3f.tar.bz2
Use PyTuple_GET_SIZE like the adjacent code does.
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 78ec3cb..2038d2b 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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;