bundles / astropy latest / astropy / extern / configobj / configobj / Section / restore_defaults
function
astropy.extern.configobj.configobj:Section.restore_defaults
source: /astropy/extern/configobj/configobj.py :1052
Signature
def restore_defaults ( self ) Summary
Recursively restore default values to all members that have them.
Extended Summary
This method will only work for a ConfigObj that was created with a configspec and has been validated.
It doesn't delete or modify entries without default values.
Aliases
-
astropy.config.configuration.configobj.Section.restore_defaults