[pypy-svn] r7512 - pypy/trunk/src/pypy/annotation

mwh at codespeak.net mwh at codespeak.net
Sat Nov 20 16:33:21 CET 2004


Author: mwh
Date: Sat Nov 20 16:33:20 2004
New Revision: 7512

Modified:
   pypy/trunk/src/pypy/annotation/factory.py
Log:
This seems to work around a bug in dot?


Modified: pypy/trunk/src/pypy/annotation/factory.py
==============================================================================
--- pypy/trunk/src/pypy/annotation/factory.py	(original)
+++ pypy/trunk/src/pypy/annotation/factory.py	Sat Nov 20 16:33:20 2004
@@ -266,7 +266,7 @@
             self.generalize(name, s_value, bookkeeper)
 
     def __repr__(self):
-        return '<ClassDef %s.%s>' % (self.cls.__module__, self.cls.__name__)
+        return "<ClassDef '%s.%s'>" % (self.cls.__module__, self.cls.__name__)
 
     def commonbase(self, other):
         while other is not None and not issubclass(self.cls, other.cls):



More information about the Pypy-commit mailing list