libconfig.Config.get_option_default

Config.get_option_default(key, subkey)

Get the default value of the option.

Parameters:
  • key (str) – First identifier of the option.
  • subkey (str) – Second identifier of the option.
Returns:

Default value of the option (type varies).

Raise:
NotRegisteredError:
 If key or subkey do not define any option.