if (!PyType_Check(arraytype)) {
PyErr_Format(PyExc_TypeError,
- "first argument must a type object, not %.200s",
+ "first argument must be a type object, not %.200s",
Py_TYPE(arraytype)->tp_name);
return NULL;
}
if (!PyLong_Check(value)) {
PyErr_SetString(PyExc_TypeError,
- "__reduce_ex__ argument should an integer");
+ "__reduce_ex__ argument should be an integer");
return NULL;
}
protocol = PyLong_AsLong(value);
}
else {
PyErr_SetString(PyExc_TypeError,
- "array indices must be integer");
+ "array indices must be integers");
return -1;
}
if (value == NULL) {