ID EN
Config Parser

remove_option

Python 3.11

Remove the specified option from the specified section. If the section does not exist, raise NoSectionError. If the option existed to be removed, return True; otherwise return False.

Syntax

PYTHON
remove_option(section, option)

See Also

NoSectionError True False