[pypy-svn] pypy default: (mfoord) correct signature of listobject._setitem_slice_helper

mfoord commits-noreply at bitbucket.org
Mon Jan 17 13:29:17 CET 2011

Author: Michael Foord <michael at voidspace.org.uk>
Changeset: r40758:6dcd1dafdebb
Date: 2011-01-17 13:27 +0100

Log:	(mfoord) correct signature of listobject._setitem_slice_helper

diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py
--- a/pypy/objspace/std/listobject.py
+++ b/pypy/objspace/std/listobject.py
@@ -261,7 +261,7 @@
     start, stop, step, slicelength = w_slice.indices4(space, oldsize)
     _setitem_slice_helper(space, w_list, start, step, slicelength, w_iterable)
-def _setitem_slice_helper(space, items, start, step, slicelength, w_iterable):
+def _setitem_slice_helper(space, w_list, start, step, slicelength, w_iterable):
     sequence2 = space.listview(w_iterable)
     assert slicelength >= 0
     items = w_list.wrappeditems

More information about the Pypy-commit mailing list