API Reference¶
Protocol APIs¶
Changed in version 4.8.0: Previously, ISized
was defined here, but now it is
imported from zope.interface.common.collections
. The
definition is the same.
Similarly, IReadSequence
, previously defined here,
has been replaced with
zope.interface.common.sequence.IMinimalSequence
.
Caution
Before version 4.8.0, most of these interfaces served as
documentation only, and were not implemented by the classes of
this package. For example, BTrees.OOBTree.BTree
did not
implement IBTree
. (The exceptions were the IBTreeModule
and IBTreeFamily
families of interfaces and
implementations.)
Beginning with version 4.8.0, objects implement the expected
interface; the BTree
classes implement IBTree
, the set
classes implement the appropriate set interface and so on.
BTree Family APIs¶
There are two families defined: