Revert "Allow MetaArray.__array__ to accept an optional dtype arg"
This commit is contained in:
parent
78e218fe6c
commit
770ce06dc1
@ -357,7 +357,7 @@ class MetaArray(object):
|
|||||||
else:
|
else:
|
||||||
return np.array(self._data)
|
return np.array(self._data)
|
||||||
|
|
||||||
def __array__(self, dtype=None):
|
def __array__(self):
|
||||||
## supports np.array(metaarray_instance)
|
## supports np.array(metaarray_instance)
|
||||||
return self.asarray()
|
return self.asarray()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user