Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163468a commit a4095efCopy full SHA for a4095ef
1 file changed
Modules/arraymodule.c
@@ -1090,7 +1090,7 @@ array_array_index(arrayobject *self, PyObject *v)
1090
else if (cmp < 0)
1091
return NULL;
1092
}
1093
- PyErr_SetString(PyExc_ValueError, "array.index(x): x not in list");
+ PyErr_SetString(PyExc_ValueError, "array.index(x): x not in array");
1094
1095
1096
@@ -1142,7 +1142,7 @@ array_array_remove(arrayobject *self, PyObject *v)
1142
1143
1144
1145
- PyErr_SetString(PyExc_ValueError, "array.remove(x): x not in list");
+ PyErr_SetString(PyExc_ValueError, "array.remove(x): x not in array");
1146
1147
1148
0 commit comments