mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Get rid of compiler warnings (gcc 3.3.4 on x86)
This commit is contained in:
parent
15231548d2
commit
26efe402c2
5 changed files with 11 additions and 11 deletions
|
@ -2601,8 +2601,8 @@ list_ass_subscript(PyListObject* self, PyObject* item, PyObject* value)
|
|||
/* XXX can we use %zd here? */
|
||||
PyErr_Format(PyExc_ValueError,
|
||||
"attempt to assign sequence of size %ld to extended slice of size %ld",
|
||||
PySequence_Fast_GET_SIZE(seq),
|
||||
slicelength);
|
||||
(long)PySequence_Fast_GET_SIZE(seq),
|
||||
(long)slicelength);
|
||||
Py_DECREF(seq);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue