[pypy-svn] r40843 - pypy/dist/pypy/annotation

pedronis at codespeak.net pedronis at codespeak.net
Tue Mar 20 15:07:12 CET 2007


Author: pedronis
Date: Tue Mar 20 15:07:12 2007
New Revision: 40843

Modified:
   pypy/dist/pypy/annotation/description.py
Log:
show flags in bound MethodDesc repr.



Modified: pypy/dist/pypy/annotation/description.py
==============================================================================
--- pypy/dist/pypy/annotation/description.py	(original)
+++ pypy/dist/pypy/annotation/description.py	Tue Mar 20 15:07:12 2007
@@ -689,9 +689,10 @@
             return '<unbound MethodDesc %r of %r>' % (self.name,
                                                       self.originclassdef)
         else:
-            return '<MethodDesc %r of %r bound to %r>' % (self.name,
+            return '<MethodDesc %r of %r bound to %r %r>' % (self.name,
                                                           self.originclassdef,
-                                                          self.selfclassdef)
+                                                          self.selfclassdef,
+                                                          self.flags)
 
     def pycall(self, schedule, args, s_previous_result):
         from pypy.annotation.model import SomeInstance



More information about the Pypy-commit mailing list