Known subclasses: dulwich.config.ConfigFile

Git configuration stored in a dictionary.
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.
def __init__(self, values=None, encoding=None):
Create a new ConfigDict.
def __repr__(self):
Undocumented
def __eq__(self, other):
Undocumented
def __getitem__(self, key):
Undocumented
def __setitem__(self, key, value):
Undocumented
def __delitem__(self, key):
Undocumented
def __iter__(self):
Undocumented
def __len__(self):
Undocumented
@classmethod
def _parse_setting(cls, name):
Undocumented
def _check_section_and_name(self, section, name):
Undocumented
def get(self, section, name):
Retrieve the contents of a configuration setting.
ParameterssectionTuple with section name and optional subsection namee
subsectionSubsection name
ReturnsContents of the setting
RaisesKeyErrorif the value is not set
def set(self, section, name, value):
Set a configuration value.
ParameterssectionTuple with section name and optional subsection namee
nameName of the configuration value, including section and optional subsection
Value of the setting
def iteritems(self, section):
Iterate over the configuration pairs for a specific section.
ParameterssectionTuple with section name and optional subsection namee
ReturnsIterator over (name, value) pairs
def itersections(self):
Iterate over the sections.
ReturnsIterator over section tuples
API Documentation for Dulwich, generated by pydoctor at 2018-11-17 19:05:54.