summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-05 15:08:23 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-05 17:38:00 -0600
commite1a9692cc36e4353798a332c834fce7aa6cf9b54 (patch)
treefc499f8768c8d2d99c64547cd1a0b7ae7e6018be /numpy/oldnumeric
parentcfd766456368777bcb0d5edabd360b3aeb02d3f8 (diff)
downloadnumpy-e1a9692cc36e4353798a332c834fce7aa6cf9b54.tar.gz
STY: Update exception styles, trickier ones.
Diffstat (limited to 'numpy/oldnumeric')
-rw-r--r--numpy/oldnumeric/ma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/ma.py b/numpy/oldnumeric/ma.py
index d30f673a8..e383560b2 100644
--- a/numpy/oldnumeric/ma.py
+++ b/numpy/oldnumeric/ma.py
@@ -622,7 +622,7 @@ class MaskedArray (object):
func, args, i = context
fills = ufunc_fills.get(func)
if fills is None:
- raise MAError, "%s not known to ma" % func
+ raise MAError("%s not known to ma" % func)
return self.filled(fills[i])
else: # Mask is all false
# Optimize to avoid future invocations of this section.