libconfig.Config.reset_option

Config.reset_option(key, subkey)

Resets a single option to the default values.

Parameters:
  • key (str) – First identifier of the option.
  • subkey (str) – Second identifier of the option.
Raise:
NotRegisteredError:
 If key or subkey do not define any option.
ValueError:If the targeted obtion is locked.