summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-05 16:10:44 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-05 17:38:00 -0600
commitb2793ea74ea05bc64288287dd2efbe0dcae99534 (patch)
tree565008825238b770fb5ab320e857dbe7a8f4c9b2 /numpy/oldnumeric
parente1a9692cc36e4353798a332c834fce7aa6cf9b54 (diff)
downloadnumpy-b2793ea74ea05bc64288287dd2efbe0dcae99534.tar.gz
STY: Fix up some two line old-style exceptions.
Diffstat (limited to 'numpy/oldnumeric')
-rw-r--r--numpy/oldnumeric/mlab.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/oldnumeric/mlab.py b/numpy/oldnumeric/mlab.py
index e2a0262f0..2c84b6960 100644
--- a/numpy/oldnumeric/mlab.py
+++ b/numpy/oldnumeric/mlab.py
@@ -80,8 +80,7 @@ def cov(m, y=None, rowvar=0, bias=0):
y = transpose(y)
N = m.shape[0]
if (y.shape[0] != N):
- raise ValueError, "x and y must have the same number "\
- "of observations"
+ raise ValueError("x and y must have the same number of observations")
m = m - _Nmean(m,axis=0)
y = y - _Nmean(y,axis=0)
if bias: