Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r63936:cb9096cdcb75
Date: 2013-05-08 22:29 -0700
http://bitbucket.org/pypy/pypy/changeset/cb9096cdcb75/
Log: small cleanups
diff --git a/rpython/bin/translatorshell.py b/rpython/bin/translatorshell.py
--- a/rpython/bin/translatorshell.py
+++ b/rpython/bin/translatorshell.py
@@ -1,7 +1,7 @@
-#!/usr/bin/env python
+#!/usr/bin/env python
-"""PyPy Translator Frontend
+"""RPython Translator Frontend
Glue script putting together the various pieces of the translator.
Can be used for interactive testing of the translator.
@@ -14,7 +14,7 @@
t.annotate()
t.view() # graph + annotations under the mouse
- t.rtype() # use low level operations
+ t.rtype() # use low level operations
lib = t.compile_c() # C compilation as a library
f = get_c_function(lib, func) # get the function out of the library
assert f(arg) == func(arg) # sanity check (for C)
@@ -51,7 +51,7 @@
import os
histfile = os.path.join(os.environ["HOME"], ".pypytrhist")
try:
- getattr(readline, "clear_history", lambda : None)()
+ getattr(readline, "clear_history", lambda: None)()
readline.read_history_file(histfile)
except IOError:
pass
@@ -74,5 +74,3 @@
import os
os.putenv("PYTHONINSPECT", "1")
-
-
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit