libconfig
0.9.0
API
Site
API reference
Page
libconfig.Config.reset_option
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.