Part of bzrlib.config View In Hierarchy
Method | __init__ | Creates a stack of sections with an optional store for changes. |
Inherited from _CompatibleStack:
Method | set | Set a new value for the option. |
Inherited from Stack (via _CompatibleStack):
Method | get | Return the first option value found in the sections. |
Method | expand_options | Expand option references in the string in the configuration context. |
Method | remove | Remove an existing option. |
Method | __repr__ | Undocumented |
Method | _expand_options_in_string | Expand options in the string in the configuration context. |
Method | _expand_option | Undocumented |
Method | _get_mutable_section | Get the MutableSection for the Stack. |
Method | _get_overrides | Undocumented |
Parameters | sections_def | A list of Section or callables that returns an iterable of Section. This defines the Sections for the Stack and can be called repeatedly if needed. |
store | The optional Store where modifications will be recorded. If none is specified, no modifications can be done. | |
mutable_section_name | The name of the MutableSection where changes are recorded. This requires the store parameter to be specified. |