Author: Lukas Diekmann <lukas.diekm...@uni-duesseldorf.de>
Branch: list-strategies
Changeset: r47560:840ee63e33a4
Date: 2011-09-23 10:46 +0200
http://bitbucket.org/pypy/pypy/changeset/840ee63e33a4/

Log:    range list storage is a tuple (not list)

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
@@ -535,7 +535,7 @@
             step = step * (-1)
         else:
             return
-        w_list.lstorage = self.erase([start, step, length])
+        w_list.lstorage = self.erase((start, step, length))
 
     def insert(self, w_list, index, w_item):
         self.switch_to_integer_strategy(w_list)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to