[pypy-svn] r12427 - pypy/dist/pypy/documentation

cfbolz at codespeak.net cfbolz at codespeak.net
Wed May 18 02:36:30 CEST 2005


Author: cfbolz
Date: Wed May 18 02:36:30 2005
New Revision: 12427

Modified:
   pypy/dist/pypy/documentation/getting_started.txt
Log:
changed to keep up with changes of translator.

Modified: pypy/dist/pypy/documentation/getting_started.txt
==============================================================================
--- pypy/dist/pypy/documentation/getting_started.txt	(original)
+++ pypy/dist/pypy/documentation/getting_started.txt	Wed May 18 02:36:30 2005
@@ -263,8 +263,8 @@
    that return type of the entry function has to be and int, float or bool. To
    try it do::
 
-       >>> from pypy.translator.llvm.genllvm import llvmcompile
-       >>> f = llvmcompile(t, optimize=True)
+       >>> print t.llvm()
+       >>> f = t.llvmcompile(optimize=True)
        >>> f(28)
        1
 



More information about the Pypy-commit mailing list