[pypy-svn] r31386 - pypy/dist/pypy/module/_demo

pedronis at codespeak.net pedronis at codespeak.net
Thu Aug 17 23:31:06 CEST 2006


Author: pedronis
Date: Thu Aug 17 23:31:05 2006
New Revision: 31386

Modified:
   pypy/dist/pypy/module/_demo/demo.py
Log:
fix



Modified: pypy/dist/pypy/module/_demo/demo.py
==============================================================================
--- pypy/dist/pypy/module/_demo/demo.py	(original)
+++ pypy/dist/pypy/module/_demo/demo.py	Thu Aug 17 23:31:05 2006
@@ -36,7 +36,7 @@
     while 1:
         first = lst[head]
         if first > math.sqrt(n) + 1:
-            lst_w = [space.newint(i) for i in range(n)]
+            lst_w = [space.newint(i) for i in lst]
             return space.newlist(lst_w)
         newlst = []
         for element in lst:



More information about the Pypy-commit mailing list