Classes to control and store state information.
It was devised to provide conditional storage
Functions
borrowdoc(cls[, methodname]) | Return a decorator to borrow docstring from another cls.`methodname` |
enhanced_doc_string(item, *args, **kwargs) | Generate enhanced doc strings for various items. |
get_docstring_split(f) | Given a function, break it up into portions |
Classes
AttributesCollector(name, bases, dict) | Intended to collect and compose collections for any child |
BaseCollection | Container of some Collectables. |
ClassWithCollections([descr]) | Base class for objects which contain any known collection |
Collection([items, name]) | Container of some IndexedCollectables. |
ConditionalAttribute([enabled]) | Simple container intended to conditionally store the value |
ConditionalAttributesCollection([items, name]) | Container of ConditionalAttributes for a stateful object. |
IndexedCollectable([index]) | Collectable with position information specified with index |
ParameterCollection([items, name]) | Container of Parameters for a stateful object. |
TextWrapper([width, initial_indent, ...]) | Object for wrapping/filling text. |
Exceptions
AttributesCollector(name, bases, dict) | Intended to collect and compose collections for any child |
BaseCollection | Container of some Collectables. |
ClassWithCollections([descr]) | Base class for objects which contain any known collection |
Collection([items, name]) | Container of some IndexedCollectables. |
ConditionalAttribute([enabled]) | Simple container intended to conditionally store the value |
ConditionalAttributesCollection([items, name]) | Container of ConditionalAttributes for a stateful object. |
IndexedCollectable([index]) | Collectable with position information specified with index |
ParameterCollection([items, name]) | Container of Parameters for a stateful object. |
TextWrapper([width, initial_indent, ...]) | Object for wrapping/filling text. |