[pypy-commit] pypy default: Bah.

arigo noreply at buildbot.pypy.org
Tue Mar 13 01:14:25 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r53396:75d3bcd9f241
Date: 2012-03-12 17:13 -0700
http://bitbucket.org/pypy/pypy/changeset/75d3bcd9f241/

Log:	Bah.

diff --git a/pypy/annotation/builtin.py b/pypy/annotation/builtin.py
--- a/pypy/annotation/builtin.py
+++ b/pypy/annotation/builtin.py
@@ -301,7 +301,7 @@
 def robjmodel_instantiate(s_clspbc):
     assert isinstance(s_clspbc, SomePBC)
     clsdef = None
-    more_than_one = len(s_clspbc.descriptions)
+    more_than_one = len(s_clspbc.descriptions) > 1
     for desc in s_clspbc.descriptions:
         cdef = desc.getuniqueclassdef()
         if more_than_one:


More information about the pypy-commit mailing list