mirror of https://github.com/python/cpython
Fix Greg Ward's error message nit: PyObject_SetItem and PySequenceSetItem
had slightly different error messages.
This commit is contained in:
parent
9c7ed4c6df
commit
98779e0e36
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue