Source

pypy / demo / fibonacci.py

The branch 'array_equal' does not exist.
Diff from to

demo/fibonacci.py

 Thunk (a.k.a. lazy objects) in PyPy.
 To run on top of the thunk object space with the following command-line:
 
-    py.py -o thunk thunk-demo.py
+    py.py -o thunk fibonacci.py
 
 This is a typical Functional Programming Languages demo, computing the
 Fibonacci sequence by using an infinite lazy linked list.
 """
 
 try:
-    thunk    # only available in 'py.py -o thunk'
-except NameError:
+    from __pypy__ import thunk    # only available in 'py.py -o thunk'
+except ImportError:
     print __doc__
     raise SystemExit(2)