[pypy-svn] r79754 - pypy/trunk/pypy/rlib

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Dec 2 17:05:59 CET 2010


Author: cfbolz
Date: Thu Dec  2 17:05:55 2010
New Revision: 79754

Modified:
   pypy/trunk/pypy/rlib/rerased.py
Log:
fix another place that used descriptions


Modified: pypy/trunk/pypy/rlib/rerased.py
==============================================================================
--- pypy/trunk/pypy/rlib/rerased.py	(original)
+++ pypy/trunk/pypy/rlib/rerased.py	Thu Dec  2 17:05:55 2010
@@ -91,7 +91,7 @@
             return annmodel.SomeInteger()
         assert isinstance(s_type, annmodel.SomePBC)
         assert len(s_type.descriptions) == 1
-        clsdef = s_type.descriptions.keys()[0].getuniqueclassdef()
+        clsdef = s_type.any_description().getuniqueclassdef()
         return annmodel.SomeInstance(clsdef)
 
     def specialize_call(self, hop):



More information about the Pypy-commit mailing list