bundles / astropy latest / astropy / extern / configobj / configobj / Section / rename
function
astropy.extern.configobj.configobj:Section.rename
source: /astropy/extern/configobj/configobj.py :810
Signature
def rename ( self , oldkey , newkey ) Summary
Change a keyname to another, without changing position in sequence.
Extended Summary
Implemented so that transformations can be made on keys, as well as on values. (used by encode and decode)
Also renames comments.
Aliases
-
astropy.config.configuration.configobj.Section.rename