diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-04-04 22:04:20 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-04-04 22:04:20 (GMT) |
commit | a701388de1135241b5a8e4c970e06c0e83a66dc0 (patch) | |
tree | 5faf9071aa6fd65c55424f1e5851bce8634a1bb7 /Objects/bytearrayobject.c | |
parent | d4dc6dc9e7e1fc1708c243b308a27e2faf59a3ea (diff) | |
download | cpython-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/bytearrayobject.c')
-rw-r--r-- | Objects/bytearrayobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c index be022a4..5b7083d 100644 --- a/Objects/bytearrayobject.c +++ b/Objects/bytearrayobject.c @@ -3018,13 +3018,13 @@ static PyObject * bytearrayiter_reduce(bytesiterobject *it) { if (it->it_seq != NULL) { - return Py_BuildValue("N(O)n", _PyIter_GetBuiltin("iter"), + return Py_BuildValue("N(O)n", _PyObject_GetBuiltin("iter"), it->it_seq, it->it_index); } else { PyObject *u = PyUnicode_FromUnicode(NULL, 0); if (u == NULL) return NULL; - return Py_BuildValue("N(N)", _PyIter_GetBuiltin("iter"), u); + return Py_BuildValue("N(N)", _PyObject_GetBuiltin("iter"), u); } } |