[pypy-svn] r13709 - pypy/dist/pypy/rpython

tismer at codespeak.net tismer at codespeak.net
Thu Jun 23 14:20:43 CEST 2005


Author: tismer
Date: Thu Jun 23 14:20:42 2005
New Revision: 13709

Modified:
   pypy/dist/pypy/rpython/llinterp.py
   pypy/dist/pypy/rpython/rlist.py
Log:
small cleanup, and correcting check-in mess

Modified: pypy/dist/pypy/rpython/llinterp.py
==============================================================================
--- pypy/dist/pypy/rpython/llinterp.py	(original)
+++ pypy/dist/pypy/rpython/llinterp.py	Thu Jun 23 14:20:42 2005
@@ -157,10 +157,10 @@
         # obj should be pointer
         setattr(obj, fieldname, fieldvalue)
 
-    def op_getarrayitem(self,array,index):
+    def op_getarrayitem(self, array, index):
         return array[index]
 
-    def op_setarrayitem(self,array,index,item):
+    def op_setarrayitem(self, array, index, item):
         array[index] = item
 
     def op_direct_call(self, f, *args):

Modified: pypy/dist/pypy/rpython/rlist.py
==============================================================================
--- pypy/dist/pypy/rpython/rlist.py	(original)
+++ pypy/dist/pypy/rpython/rlist.py	Thu Jun 23 14:20:42 2005
@@ -225,6 +225,7 @@
 def ll_pop_nonneg(l, index):
     res = l.items[index]
     ll_delitem_nonneg(l, index)
+    return res
 
 def ll_pop(l, index):
     if index < 0:



More information about the Pypy-commit mailing list