| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Section --+
|
MagicSection
A section that creates new keys on the fly.
Use this a dictionary-like thing when successive edits are necessary or the DictConfigItem becomes too unwieldy.
A MagicSection is constructed with the section name, an item factory, which has to be a subclass of ConfigItem (you may want to write a special constructor to provide documentation, etc.), and defaults as a sequence of pairs of keys and values. And there should be documentation, too, of course.
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
set the value of the configuration item name. value must always be a string, regardless of the item's actual type.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |