Пример #1
0
 def get(self, a, variables=False, errors=False):
     return self._value(OrderedDict.get(self, a, a), variables, errors)
Пример #2
0
 def __str__(self):
     return self.name + "_" + OrderedDict.__str__(self)
Пример #3
0
 def __getitem__(self, a):
     return self._value(OrderedDict.__getitem__(self, a))
Пример #4
0
 def __init__(self, name, **values):
     OrderedDict.__init__(self)
     self.name = name
     self.update(values)