summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-04-04 22:04:20 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-04-04 22:04:20 (GMT)
commita701388de1135241b5a8e4c970e06c0e83a66dc0 (patch)
tree5faf9071aa6fd65c55424f1e5851bce8634a1bb7 /Objects/listobject.c
parentd4dc6dc9e7e1fc1708c243b308a27e2faf59a3ea (diff)
downloadcpython-a701388de1135241b5a8e4c970e06c0e83a66dc0.zip
cpython-a701388de1135241b5a8e4c970e06c0e83a66dc0.tar.gz
cpython-a701388de1135241b5a8e4c970e06c0e83a66dc0.tar.bz2
Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI.
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index c8a75f5..e59c9b1 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -2949,17 +2949,17 @@ listiter_reduce_general(void *_it, int forward)
if (forward) {
listiterobject *it = (listiterobject *)_it;
if (it->it_seq)
- return Py_BuildValue("N(O)l", _PyIter_GetBuiltin("iter"),
+ return Py_BuildValue("N(O)l", _PyObject_GetBuiltin("iter"),
it->it_seq, it->it_index);
} else {
listreviterobject *it = (listreviterobject *)_it;
if (it->it_seq)
- return Py_BuildValue("N(O)n", _PyIter_GetBuiltin("reversed"),
+ return Py_BuildValue("N(O)n", _PyObject_GetBuiltin("reversed"),
it->it_seq, it->it_index);
}
/* empty iterator, create an empty list */
list = PyList_New(0);
if (list == NULL)
return NULL;
- return Py_BuildValue("N(N)", _PyIter_GetBuiltin("iter"), list);
+ return Py_BuildValue("N(N)", _PyObject_GetBuiltin("iter"), list);
}