summaryrefslogtreecommitdiff
path: root/scipy/base/ma.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-11-14 23:56:10 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-11-14 23:56:10 +0000
commitd692bad8cda28858c113563722c7d66bd4d9f73b (patch)
treeda205f5c1fb5727e2ce44752bfce43e48b5d15b6 /scipy/base/ma.py
parent51508b2a55b9f96105dfa03d84a3bbc0341efc1a (diff)
downloadnumpy-d692bad8cda28858c113563722c7d66bd4d9f73b.tar.gz
Closed a few more leaks.
Diffstat (limited to 'scipy/base/ma.py')
-rw-r--r--scipy/base/ma.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scipy/base/ma.py b/scipy/base/ma.py
index fcb608445..79c09f115 100644
--- a/scipy/base/ma.py
+++ b/scipy/base/ma.py
@@ -686,7 +686,8 @@ class MaskedArray (object):
f = masked_print_option
else:
f = self.fill_value()
- return str(filled(self, f))
+ res = self.filled(f)
+ return str(res)
def __repr__(self):
"""Calculate the repr representation, using masked for fill if