コード例 #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
ファイル: flat.py プロジェクト: fabiommendes/smallvectors
 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
ファイル: flat.py プロジェクト: fabiommendes/smallvectors
 def __flatlen__(self):
     raise NotImplementedError(
         '%s objects does not implement a __flatlen__ method' % tname(self)
     )