libconfig
0.9.0
API
Site
API reference
Page
libconfig.Config.lock_option
libconfig.Config.lock_option
¶
Config.
lock_option
(
key
,
subkey
)
¶
Make an option unmutable.
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.