[pypy-svn] r79756 - pypy/trunk/pypy/rlib
cfbolz at codespeak.net
cfbolz at codespeak.net
Thu Dec 2 17:23:54 CET 2010
Author: cfbolz
Date: Thu Dec 2 17:23:53 2010
New Revision: 79756
Modified:
pypy/trunk/pypy/rlib/rerased.py
Log:
grmpf
Modified: pypy/trunk/pypy/rlib/rerased.py
==============================================================================
--- pypy/trunk/pypy/rlib/rerased.py (original)
+++ pypy/trunk/pypy/rlib/rerased.py Thu Dec 2 17:23:53 2010
@@ -108,7 +108,7 @@
def compute_result_annotation(self, s_obj, s_type):
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()
s_item = annmodel.SomeInstance(clsdef)
return self.bookkeeper.newlist(s_item)
More information about the Pypy-commit
mailing list