config.section module

Provides a way to create sections within configuration files.

class config.section._SectionManager(name, separator)[source]

Bases: object

Class used to store a section instance.

__init__(name, separator)[source]

Called on instantiation.

Parameters:
  • name (str/TranslationStrings) – Name of the section to add.
  • separator (str) – A single separator character to use to separate the section.
name

Return the section’s name.

Return type:str
separator

Return the separator character to use for the section.

Return type:str