Example #1
0
 def __getattr__(self, name):
     if name == '__getitem__':
         return self.__getitem__
     return _Method.__getattr__(self, name)
Example #2
0
 def __getitem__(self, name):
     return _Method.__getattr__(self, name)