commit | e0e89f79201e2ee57ebd0cc4765793d870c0a5c0 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 06:59:22 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 06:59:22 2006 +0000 |
tree | 2333ae17ed3e93be9887a083c71a8b7a17927637 | |
parent | 2c95cc6d72957296c46bb11362359675a47e2085 [diff] [blame] |
Revert 42400.
diff --git a/Objects/listobject.c b/Objects/listobject.c index a970c14..c083ffc 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c
@@ -2600,8 +2600,8 @@ 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; }