Revert 42400.

This commit is contained in:
Martin v. Löwis 2006-02-16 06:59:22 +00:00
parent 2c95cc6d72
commit e0e89f7920
5 changed files with 11 additions and 11 deletions

View file

@ -2600,8 +2600,8 @@ list_ass_subscript(PyListObject* self, PyObject* item, PyObject* value)
if (PySequence_Fast_GET_SIZE(seq) != slicelength) {
PyErr_Format(PyExc_ValueError,
"attempt to assign sequence of size %zd to extended slice of size %zd",
(long)PySequence_Fast_GET_SIZE(seq),
(long)slicelength);
PySequence_Fast_GET_SIZE(seq),
slicelength);
Py_DECREF(seq);
return -1;
}