summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/ma.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-05 06:44:20 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-05 06:44:20 +0000
commit04d79b539391064f6a81fba9ffa45e6371ffcedd (patch)
treebe47fa1a0fe4a0a41bfde371dfd0d0d16c397d1e /numpy/oldnumeric/ma.py
parentd6eb562b8d4b37be1f2c6743bae5ea520703da64 (diff)
downloadnumpy-04d79b539391064f6a81fba9ffa45e6371ffcedd.tar.gz
Fixes for the recent change to oldnumeric
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