dulwich.config.ConfigDict(Config, MutableMapping)
class documentationdulwich.config
(View In Hierarchy)
Known subclasses: dulwich.config.ConfigFile
Method | __init__ | Create a new ConfigDict. |
Method | __repr__ | Undocumented |
Method | __eq__ | Undocumented |
Method | __getitem__ | Undocumented |
Method | __setitem__ | Undocumented |
Method | __delitem__ | Undocumented |
Method | __iter__ | Undocumented |
Method | __len__ | Undocumented |
Method | get | Retrieve the contents of a configuration setting. |
Method | set | Set a configuration value. |
Method | iteritems | Iterate over the configuration pairs for a specific section. |
Method | itersections | Iterate over the sections. |
Class Method | _parse_setting | Undocumented |
Method | _check_section_and_name | Undocumented |
Inherited from Config:
Method | get_boolean | Retrieve a configuration setting as boolean. |
Method | has_section | Check if a specified section exists. |
Parameters | section | Tuple with section name and optional subsection namee |
subsection | Subsection name | |
Returns | Contents of the setting | |
Raises | KeyError | if the value is not set |
Parameters | section | Tuple with section name and optional subsection namee |
name | Name of the configuration value, including section and optional subsection | |
Value of the setting |
Parameters | section | Tuple with section name and optional subsection namee |
Returns | Iterator over (name, value) pairs |
Returns | Iterator over section tuples |