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/rangeobject.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/rangeobject.c')
-rw-r--r-- | Objects/rangeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c index 660de84..99544d6 100644 --- a/Objects/rangeobject.c +++ b/Objects/rangeobject.c @@ -985,7 +985,7 @@ rangeiter_reduce(rangeiterobject *r) if (range == NULL) goto err; /* return the result */ - return Py_BuildValue("N(N)i", _PyIter_GetBuiltin("iter"), range, r->index); + return Py_BuildValue("N(N)i", _PyObject_GetBuiltin("iter"), range, r->index); err: Py_XDECREF(start); Py_XDECREF(stop); @@ -1171,7 +1171,7 @@ longrangeiter_reduce(longrangeiterobject *r) } /* return the result */ - return Py_BuildValue("N(N)O", _PyIter_GetBuiltin("iter"), range, r->index); + return Py_BuildValue("N(N)O", _PyObject_GetBuiltin("iter"), range, r->index); } static PyObject * |