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

pedronis at codespeak.net pedronis at codespeak.net
Wed Oct 26 03:11:37 CEST 2005


Author: pedronis
Date: Wed Oct 26 03:11:33 2005
New Revision: 18982

Modified:
   pypy/dist/pypy/objspace/std/objspace.py
Log:
forgot this



Modified: pypy/dist/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/std/objspace.py	(original)
+++ pypy/dist/pypy/objspace/std/objspace.py	Wed Oct 26 03:11:33 2005
@@ -348,7 +348,7 @@
         return w_obj.getclass(self)
 
     def lookup(self, w_obj, name):
-        w_type = w_obj.getclass(self)
+        w_type = self.type(w_obj)
         return w_type.lookup(name)
     lookup._annspecialcase_ = 'specialize:lookup'
 



More information about the Pypy-commit mailing list