Author: Carl Friedrich Bolz <[email protected]>
Branch: guard-compatible
Changeset: r83430:20a9a53c287b
Date: 2016-03-29 17:53 +0200
http://bitbucket.org/pypy/pypy/changeset/20a9a53c287b/

Log:    nonsense

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
@@ -101,9 +101,9 @@
         the object does *not* have a devolved terminator, and -2 if the
         terminator *is* devolved """
         attr = self.find_map_attr(name, index)
-        if isinstance(self.terminator, DevolvedDictTerminator):
-            return NOATTR_DEVOLVED_TERMINATOR
         if attr is None:
+            if isinstance(self.terminator, DevolvedDictTerminator):
+                return NOATTR_DEVOLVED_TERMINATOR
             return NOATTR
         return attr.storageindex
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to