[pypy-svn] r73121 - pypy/branch/cpython-extension/pypy/rpython

afa at codespeak.net afa at codespeak.net
Mon Mar 29 20:19:36 CEST 2010


Author: afa
Date: Mon Mar 29 20:19:34 2010
New Revision: 73121

Modified:
   pypy/branch/cpython-extension/pypy/rpython/annlowlevel.py
Log:
Gives KeyComp a better __repr__ to be displayed in lists
--Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    annlowlevel.py


Modified: pypy/branch/cpython-extension/pypy/rpython/annlowlevel.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/rpython/annlowlevel.py	(original)
+++ pypy/branch/cpython-extension/pypy/rpython/annlowlevel.py	Mon Mar 29 20:19:34 2010
@@ -34,6 +34,7 @@
             else:
                 s = compact()        
         return s + 'Const'
+    __repr__ = __str__
 
 class LowLevelAnnotatorPolicy(AnnotatorPolicy):
     allow_someobjects = False



More information about the Pypy-commit mailing list