summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/ma.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-05 01:20:56 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-05 01:20:56 +0000
commit9d8e2024ff9014fa2fd9a29812cec615dff6feb9 (patch)
treee6353aeb1f9f90e6011ad830a5f3b140b1120435 /numpy/oldnumeric/ma.py
parent9d98d9d5e3668d3b8da3bb3019a28d6e945d6fad (diff)
downloadnumpy-9d8e2024ff9014fa2fd9a29812cec615dff6feb9.tar.gz
More fixes to backward compatibility
Diffstat (limited to 'numpy/oldnumeric/ma.py')
-rw-r--r--numpy/oldnumeric/ma.py11
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