[pypy-svn] r12308 - pypy/dist/pypy/documentation
hpk at codespeak.net
hpk at codespeak.net
Sun May 15 18:44:28 CEST 2005
Author: hpk
Date: Sun May 15 18:44:28 2005
New Revision: 12308
Modified:
pypy/dist/pypy/documentation/objspace.txt
Log:
fix prompt of example
Modified: pypy/dist/pypy/documentation/objspace.txt
==============================================================================
--- pypy/dist/pypy/documentation/objspace.txt (original)
+++ pypy/dist/pypy/documentation/objspace.txt Sun May 15 18:44:28 2005
@@ -214,18 +214,18 @@
Example usage::
$ python interpreter/py.py -o thunk
- >>> def f():
+ >>>> def f():
... print 'computing...'
... return 6*7
...
- >>> x = thunk(f)
- >>> x
+ >>>> x = thunk(f)
+ >>>> x
computing...
42
- >>> x
+ >>>> x
42
- >>> y = thunk(f)
- >>> type(y)
+ >>>> y = thunk(f)
+ >>>> type(y)
computing...
<pypy type 'int'>
More information about the Pypy-commit
mailing list