obspy.core.util.attribdict.AttribDict.setdefault

AttribDict.setdefault(key, default=None)