[pypy-svn] r71383 - pypy/trunk/pypy/objspace/std

fijal at codespeak.net fijal at codespeak.net
Sun Feb 21 16:04:43 CET 2010


Author: fijal
Date: Sun Feb 21 16:04:42 2010
New Revision: 71383

Modified:
   pypy/trunk/pypy/objspace/std/typetype.py
Log:
oops, typo


Modified: pypy/trunk/pypy/objspace/std/typetype.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/typetype.py	(original)
+++ pypy/trunk/pypy/objspace/std/typetype.py	Sun Feb 21 16:04:42 2010
@@ -164,7 +164,7 @@
         # Disable method cache if the hierarchy isn't pure.
         w_type._version_tag = None
         for w_subclass in w_type.get_subclasses():
-            if isinstance(w_type, W_TypeObject):
+            if isinstance(w_subclass, W_TypeObject):
                 w_subclass._version_tag = None
     assert w_type.w_same_layout_as is get_parent_layout(w_type)  # invariant
 



More information about the Pypy-commit mailing list