mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue