Exemplo n.º 1
0
Arquivo: array.py Projeto: meego/numba
 def __getattr__(self, attrname):
     try:
         attr = getattr(self._ary, attrname)
         return attr
     except AttributeError as e:
         raise_from(AttributeError("Wrapped array has no attribute '%s'"
                                   % attrname), e)
Exemplo n.º 2
0
 def __getattr__(self, attrname):
     try:
         attr = getattr(self._ary, attrname)
         return attr
     except AttributeError as e:
         raise_from(AttributeError("Wrapped array has no attribute '%s'"
                                   % attrname), e)