Beispiel #1
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)
Beispiel #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)