[pypy-commit] pypy type-specialized-instances: fix: former PlainAttribute is now AbstractStoredAttribute

l.diekmann noreply at buildbot.pypy.org
Fri Nov 18 14:42:30 CET 2011


Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: type-specialized-instances
Changeset: r49524:51f420b3af95
Date: 2011-11-16 20:40 +0100
http://bitbucket.org/pypy/pypy/changeset/51f420b3af95/

Log:	fix: former PlainAttribute is now AbstractStoredAttribute

diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -99,7 +99,7 @@
         return attr
 
     def _findmap(self, selector):
-        while isinstance(self, PlainAttribute):
+        while isinstance(self, AbstractStoredAttribute):
             if selector == self.selector:
                 return self
             self = self.back


More information about the pypy-commit mailing list