[pypy-svn] r11649 - pypy/dist/pypy/objspace/std

pedronis at codespeak.net pedronis at codespeak.net
Sat Apr 30 16:08:51 CEST 2005


Author: pedronis
Date: Sat Apr 30 16:08:51 2005
New Revision: 11649

Modified:
   pypy/dist/pypy/objspace/std/typeobject.py
Log:
don't prefix type repr with pypy



Modified: pypy/dist/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/typeobject.py	(original)
+++ pypy/dist/pypy/objspace/std/typeobject.py	Sat Apr 30 16:08:51 2005
@@ -238,7 +238,7 @@
     return space.newbool(w_type2 in w_type1.mro_w)
 
 def repr__Type(space, w_obj):
-    return space.wrap("<pypy type '%s'>" % w_obj.name)  # XXX remove 'pypy'
+    return space.wrap("<type '%s'>" % w_obj.name)
 
 def getattr__Type_ANY(space, w_type, w_name):
     name = space.str_w(w_name)



More information about the Pypy-commit mailing list