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.

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

Return the section’s name.

Return type:str

Return the separator character to use for the section.

Return type:str