obspy.core.util.types.OrderedDict.setdefault

OrderedDict.setdefault(k[, d]) → od.get(k,d), also set od[k]=d if k not in od

This Page