Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r47987:2caefaa6e24d
Date: 2011-10-12 22:19 +0200
http://bitbucket.org/pypy/pypy/changeset/2caefaa6e24d/
Log: New print() syntax for applevel code
diff --git a/pypy/bin/py.py b/pypy/bin/py.py
--- a/pypy/bin/py.py
+++ b/pypy/bin/py.py
@@ -52,7 +52,7 @@
import site
except:
import sys
- print >> sys.stderr, "import site\' failed"
+ print("'import site' failed", file=sys.stderr)
''').interphook('pypy_init')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit