Revert "Allow MetaArray.__array__ to accept an optional dtype arg"

This commit is contained in:
Ogi Moore 2019-11-21 08:42:44 -08:00 committed by GitHub
parent 78e218fe6c
commit 770ce06dc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -357,7 +357,7 @@ class MetaArray(object):
else:
return np.array(self._data)
def __array__(self, dtype=None):
def __array__(self):
## supports np.array(metaarray_instance)
return self.asarray()