Mercurial > cpython-lru_cache-weakref
comparison Modules/arraymodule.c @ 76105:fb907ee4fdfa
Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Thu, 05 Apr 2012 00:04:20 +0200 |
| parents | 4ff234337e24 |
| children | 95da47ddebe0 |
comparison
equal
deleted
inserted
replaced
| 76103:68ef2fc47da6 | 76105:fb907ee4fdfa |
|---|---|
| 2754 } | 2754 } |
| 2755 | 2755 |
| 2756 static PyObject * | 2756 static PyObject * |
| 2757 arrayiter_reduce(arrayiterobject *it) | 2757 arrayiter_reduce(arrayiterobject *it) |
| 2758 { | 2758 { |
| 2759 return Py_BuildValue("N(O)n", _PyIter_GetBuiltin("iter"), | 2759 return Py_BuildValue("N(O)n", _PyObject_GetBuiltin("iter"), |
| 2760 it->ao, it->index); | 2760 it->ao, it->index); |
| 2761 } | 2761 } |
| 2762 | 2762 |
| 2763 static PyObject * | 2763 static PyObject * |
| 2764 arrayiter_setstate(arrayiterobject *it, PyObject *state) | 2764 arrayiter_setstate(arrayiterobject *it, PyObject *state) |
