mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
7 lines
166 B
Python
7 lines
166 B
Python
import collections
|
|
|
|
class MyDict(collections.OrderedDict):
|
|
def getLast(self):
|
|
if self:
|
|
return list(self.values)[-1]
|
|
raise ValueError() |