summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 06:59:22 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 06:59:22 (GMT)
commite0e89f79201e2ee57ebd0cc4765793d870c0a5c0 (patch)
tree2333ae17ed3e93be9887a083c71a8b7a17927637 /Objects/listobject.c
parent2c95cc6d72957296c46bb11362359675a47e2085 (diff)
downloadcpython-e0e89f79201e2ee57ebd0cc4765793d870c0a5c0.zip
cpython-e0e89f79201e2ee57ebd0cc4765793d870c0a5c0.tar.gz
cpython-e0e89f79201e2ee57ebd0cc4765793d870c0a5c0.tar.bz2
Revert 42400.
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c4
1 files changed, 2 insertions, 2 deletions
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 @@ 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;
}