Fix Greg Ward's error message nit: PyObject_SetItem and PySequenceSetItem

had slightly different error messages.
This commit is contained in:
Raymond Hettinger 2003-10-27 09:22:16 +00:00
parent 9c7ed4c6df
commit 98779e0e36
1 changed files with 1 additions and 1 deletions

View File

@ -1252,7 +1252,7 @@ PySequence_SetItem(PyObject *s, int i, PyObject *o)
return m->sq_ass_item(s, i, o);
}
type_error("object doesn't support item assignment");
type_error("object does not support item assignment");
return -1;
}