summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric
diff options
context:
space:
mode:
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: