[pypy-svn] rev 674 - pypy/trunk/src/pypy/objspace/std

tismer at codespeak.net tismer at codespeak.net
Thu May 29 15:42:35 CEST 2003


Author: tismer
Date: Thu May 29 15:42:35 2003
New Revision: 674

Modified:
   pypy/trunk/src/pypy/objspace/std/listobject.py
Log:
list.extend works

Modified: pypy/trunk/src/pypy/objspace/std/listobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/listobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/listobject.py	Thu May 29 15:42:35 2003
@@ -281,6 +281,7 @@
     items = w_list.ob_item
     for i in range(len(lis)):
         items[d+i] = lis[i]
+    w_list.ob_size = newlen
     return space.w_None
 
 """


More information about the Pypy-commit mailing list