libconfig.Config.reset_options

Config.reset_options(empty=True)

Empty ALL options.

Parameters:empty (bool) – When True, completelly removes all options; when False, sets them back to its original value.

This function skips locked control.