[Zodb-checkins] CVS: Zope3/src/zodb/btrees - interfaces.py:1.10
Steve Alexander
steve at cat-box.net
Fri Jun 6 12:24:50 EDT 2003
Update of /cvs-repository/Zope3/src/zodb/btrees
In directory cvs.zope.org:/tmp/cvs-serv25930/src/zodb/btrees
Modified Files:
interfaces.py
Log Message:
Changed old style __implements__ declarations to new-style implements()
ones.
=== Zope3/src/zodb/btrees/interfaces.py 1.9 => 1.10 ===
--- Zope3/src/zodb/btrees/interfaces.py:1.9 Tue Mar 4 16:06:39 2003
+++ Zope3/src/zodb/btrees/interfaces.py Fri Jun 6 11:24:19 2003
@@ -391,7 +391,8 @@
# XXX You can't import OOBTree in this module, because it would create
# a circular reference.
-# OOBTree.OOSet.__implements__ = ISet
-# OOBTree.OOTreeSet.__implements__ = ITreeSet
-# OOBTree.OOBucket.__implements__ = IDictionaryIsh
-# OOBTree.OOBTree.__implements__ = IBTree
+# from zope.interface import classImplements
+# classImplements(OOBTree.OOSet, ISet)
+# classImplements(OOBTree.OOTreeSet, ITreeSet)
+# classImplements(OOBTree.OOBucket, IDictionaryIsh)
+# classImplements(OOBTree.OOBTree, IBTree)
More information about the Zodb-checkins
mailing list