[pypy-svn] r10619 - pypy/dist/pypy/translator/genc

arigo at codespeak.net arigo at codespeak.net
Thu Apr 14 16:24:22 CEST 2005


Author: arigo
Date: Thu Apr 14 16:24:22 2005
New Revision: 10619

Modified:
   pypy/dist/pypy/translator/genc/funcdef.py
Log:
More useful debugging info.


Modified: pypy/dist/pypy/translator/genc/funcdef.py
==============================================================================
--- pypy/dist/pypy/translator/genc/funcdef.py	(original)
+++ pypy/dist/pypy/translator/genc/funcdef.py	Thu Apr 14 16:24:22 2005
@@ -125,7 +125,7 @@
             return self.localscope.localname(v.name)
         elif isinstance(v, Constant):
             return self.genc.nameofconst(v,
-                                    debug=('Constant in the graph of', self))
+                               debug=('Constant in the graph of', self.func))
         else:
             raise TypeError, "expr(%r)" % (v,)
 



More information about the Pypy-commit mailing list