{ } Raw JSON

bundles / astropy latest / astropy / extern / configobj / configobj / Section / pop

function

astropy.extern.configobj.configobj:Section.pop

source: /astropy/extern/configobj/configobj.py :653

Signature

def   pop ( self key default = <object object at 0x0000> )

Summary

'D.pop(k[,d]) -> v, remove specified key and return the corresponding value. If key is not found, d is returned if given, otherwise KeyError is raised'

Aliases

  • astropy.config.configuration.configobj.Section.pop