Пример #1
0
 def __flatsetitem__(self, idx, value):
     raise NotImplementedError(
         '%s objects does not implement a __flatsetitem__ method;\n'
         'This function only requires positive scalar indexing to work.' %
         tname(self))
Пример #2
0
 def __flatsetitem__(self, idx, value):
     raise NotImplementedError(
         '%s objects does not implement a __flatsetitem__ method;\n'
         'This function only requires positive scalar indexing to work.'
         % tname(self)
     )
Пример #3
0
 def __flatlen__(self):
     raise NotImplementedError(
         '%s objects does not implement a __flatlen__ method' % tname(self))
Пример #4
0
 def __flatlen__(self):
     raise NotImplementedError(
         '%s objects does not implement a __flatlen__ method' % tname(self)
     )