diff options
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 412e39e951..abb578aed3 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1090,7 +1090,7 @@ array_array_index(arrayobject *self, PyObject *v) else if (cmp < 0) return NULL; } - PyErr_SetString(PyExc_ValueError, "array.index(x): x not in list"); + PyErr_SetString(PyExc_ValueError, "array.index(x): x not in array"); return NULL; } @@ -1142,7 +1142,7 @@ array_array_remove(arrayobject *self, PyObject *v) else if (cmp < 0) return NULL; } - PyErr_SetString(PyExc_ValueError, "array.remove(x): x not in list"); + PyErr_SetString(PyExc_ValueError, "array.remove(x): x not in array"); return NULL; } |