ID EN
Config Parser

DuplicateSectionError

Python 3.11

Exception raised if add_section() is called with the name of a section that is already present or in strict parsers when a section if found more than once in a single input file, string or dictionary.

Syntax

PYTHON
exception configparser.DuplicateSectionError

See Also

add_section()