diff options
Diffstat (limited to 'numpy/oldnumeric/ma.py')
-rw-r--r-- | numpy/oldnumeric/ma.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/numpy/oldnumeric/ma.py b/numpy/oldnumeric/ma.py new file mode 100644 index 000000000..15f23ff34 --- /dev/null +++ b/numpy/oldnumeric/ma.py @@ -0,0 +1,11 @@ + +from numpy.core.ma import getmask as _getmask, nomask as _nomask +from numpy.core.ma import * + +del getmask, nomask + +def getmask(a): + res = _getmask(a) + if res is _nomask: + return None + return res |