summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/ma.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/oldnumeric/ma.py')
-rw-r--r--numpy/oldnumeric/ma.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/numpy/oldnumeric/ma.py b/numpy/oldnumeric/ma.py
index 15f23ff34..c78fcc200 100644
--- a/numpy/oldnumeric/ma.py
+++ b/numpy/oldnumeric/ma.py
@@ -1,11 +1,5 @@
+# Incompatibility in that getmask and a.mask returns nomask
+# instead of None
-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