示例#1
0
文件: array.py 项目: 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)
示例#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)