[pypy-svn] r21891 - pypy/dist/pypy/translator

pedronis at codespeak.net pedronis at codespeak.net
Tue Jan 10 17:22:13 CET 2006


Author: pedronis
Date: Tue Jan 10 17:22:12 2006
New Revision: 21891

Modified:
   pypy/dist/pypy/translator/interactive.py
Log:
added view/viewcg methods delegating to the wrapped TranslationContext.



Modified: pypy/dist/pypy/translator/interactive.py
==============================================================================
--- pypy/dist/pypy/translator/interactive.py	(original)
+++ pypy/dist/pypy/translator/interactive.py	Tue Jan 10 17:22:12 2006
@@ -55,6 +55,12 @@
         'compile_llvm': [],
     }
 
+    def view(self):
+        self.context.view()
+
+    def viewcg(self):
+        self.context.viewcg()
+
     def driver_event(self, kind, goal, func):
         if kind == 'pre':
              #print goal



More information about the Pypy-commit mailing list