blob: a3604d351b7f957f3a08c4c49c162cfcfe784d9c [file]
import collections
class MyDict(collections.OrderedDict):
def getLast(self):
if self:
return list(self.values)[-1]
raise ValueError()