diff options
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 4c3ddc3ac2..8f12c61646 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -344,7 +344,7 @@ II_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) int do_decref = 0; /* if nb_int was called */ if (!PyLong_Check(v)) { - v = PyNumber_Index(v); + v = _PyNumber_Index(v); if (NULL == v) { return -1; } @@ -404,7 +404,7 @@ LL_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) int do_decref = 0; /* if nb_int was called */ if (!PyLong_Check(v)) { - v = PyNumber_Index(v); + v = _PyNumber_Index(v); if (NULL == v) { return -1; } @@ -457,7 +457,7 @@ QQ_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) int do_decref = 0; /* if nb_int was called */ if (!PyLong_Check(v)) { - v = PyNumber_Index(v); + v = _PyNumber_Index(v); if (NULL == v) { return -1; } |