mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Fix Greg Ward's error message nit: PyObject_SetItem and PySequenceSetItem
had slightly different error messages.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user