diff options
Diffstat (limited to 'numpy/core/ma.py')
-rw-r--r-- | numpy/core/ma.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/ma.py b/numpy/core/ma.py index 95c030746..efe312f21 100644 --- a/numpy/core/ma.py +++ b/numpy/core/ma.py @@ -1388,6 +1388,9 @@ array(data = %(data)s, self._mask = make_mask (self._mask, copy=1, flag=0) self._shared_mask = 0 + def _get_ctypes(self): + return self._data.ctypes + shape = property(_get_shape, _set_shape, doc = 'tuple giving the shape of the array') @@ -1402,6 +1405,8 @@ array(data = %(data)s, imag = imaginary + ctypes = property(_get_ctypes, None, doc="ctypes") + #end class MaskedArray array = MaskedArray |