summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/matrix.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-05 15:01:52 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-05 17:38:00 -0600
commitcfd766456368777bcb0d5edabd360b3aeb02d3f8 (patch)
treeb38cd1bf7520faba8e2c0268e85253df7fe1f23f /numpy/oldnumeric/matrix.py
parenta4100ba6c440bdf2a2b3cfc31995eb5e009846ee (diff)
downloadnumpy-cfd766456368777bcb0d5edabd360b3aeb02d3f8.tar.gz
STY: Update exception style, easy ones.
Diffstat (limited to 'numpy/oldnumeric/matrix.py')
-rw-r--r--numpy/oldnumeric/matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/oldnumeric/matrix.py b/numpy/oldnumeric/matrix.py
index 5f8c1ca5e..ddd612266 100644
--- a/numpy/oldnumeric/matrix.py
+++ b/numpy/oldnumeric/matrix.py
@@ -41,7 +41,7 @@ def _convert_from_string(data):
if count == 0:
Ncols = len(newrow)
elif len(newrow) != Ncols:
- raise ValueError, "Rows not the same size."
+ raise ValueError("Rows not the same size.")
count += 1
newdata.append(newrow)
return newdata