[pypy-svn] r73683 - pypy/branch/decouple-host-opcodes/pypy/interpreter

fijal at codespeak.net fijal at codespeak.net
Mon Apr 12 22:49:46 CEST 2010


Author: fijal
Date: Mon Apr 12 22:49:45 2010
New Revision: 73683

Modified:
   pypy/branch/decouple-host-opcodes/pypy/interpreter/gateway.py
Log:
"typo"


Modified: pypy/branch/decouple-host-opcodes/pypy/interpreter/gateway.py
==============================================================================
--- pypy/branch/decouple-host-opcodes/pypy/interpreter/gateway.py	(original)
+++ pypy/branch/decouple-host-opcodes/pypy/interpreter/gateway.py	Mon Apr 12 22:49:45 2010
@@ -827,7 +827,7 @@
     def __init__(self, source, filename=None, modname='__builtin__'):
         # HAAACK (but a good one)
         if filename is None:
-            f = sys._getframe(2)
+            f = sys._getframe(1)
             filename = MyStr('<%s:%d>' % (f.f_code.co_filename, f.f_lineno))
             filename.__source__ = py.code.Source(source)
         self.filename = filename



More information about the Pypy-commit mailing list