[Zope3-checkins] SVN: Zope3/trunk/src/zope/interface/declarations.py __bases__ should be a tuple.

Jim Fulton jim at zope.com
Tue Aug 10 19:17:29 EDT 2004


Log message for revision 26985:
  __bases__ should be a tuple.
  


Changed:
  U   Zope3/trunk/src/zope/interface/declarations.py


-=-
Modified: Zope3/trunk/src/zope/interface/declarations.py
===================================================================
--- Zope3/trunk/src/zope/interface/declarations.py	2004-08-10 22:43:05 UTC (rev 26984)
+++ Zope3/trunk/src/zope/interface/declarations.py	2004-08-10 23:17:28 UTC (rev 26985)
@@ -542,7 +542,7 @@
                 seen[b] = 1
                 bases.append(b)
         
-    spec.__bases__ = bases
+    spec.__bases__ = tuple(bases)
 
 def _implements_advice(cls):
     interfaces, classImplements = cls.__dict__['__implements_advice_data__']



More information about the Zope3-Checkins mailing list