popitem#

jeanspy.model.DotDict.popitem

Class and construction: DotDict.

DotDict.popitem()#

Remove and return a (key, value) pair as a 2-tuple.

Pairs are returned in LIFO (last-in, first-out) order. Raises KeyError if the dict is empty.