[pypy-svn] r62608 - pypy/branch/pyjitpl5/pypy/jit/tl

fijal at codespeak.net fijal at codespeak.net
Thu Mar 5 20:14:19 CET 2009


Author: fijal
Date: Thu Mar  5 20:14:16 2009
New Revision: 62608

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py
Log:
use plain addition here


Modified: pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py	Thu Mar  5 20:14:16 2009
@@ -21,7 +21,7 @@
     s = 0
     for i in range(100):
         # XXX implement inplace_add method for ints
-        s += i
+        s = s + i
     print s        # should print 102
 
 f()



More information about the Pypy-commit mailing list