Home | Trees | Indices | Help |
|
---|
|
object --+ | AttributeCollectionBase
Mixin, allows extension of instance attributes with `AttributeCollection`s
This mixin allows a class' instances' attributes and set of supported operators to be extended with `AttributeCollection`s.
Note: this class provides a base for using AttributeCollection`s, it is not
a base class of `AttributeCollection
. This have been a misnomer.
Methods:
- _append_attribute_collection: Append a new AttributeCollection
Class invariants:
1. an AttributeCollectionBase never contains two identical `AttributeCollection`s
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__delattr__('name') <==> del x.name
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
x.__setattr__('name', value) <==> x.name = value
|
str(x)
|
Append a new AttributeCollection. When attributes of collections overlap, the first of overlapping attributes found in the lookup process is used and the others are ignored. Lookup happens in the same order as collections were added. (It is probably best to avoid overlaps.) Parameters:
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Thu Jul 22 13:11:42 2010 | http://epydoc.sourceforge.net |