From cfd766456368777bcb0d5edabd360b3aeb02d3f8 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Tue, 5 Apr 2011 15:01:52 -0600 Subject: STY: Update exception style, easy ones. --- numpy/oldnumeric/matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/oldnumeric/matrix.py') 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 -- cgit v1.2.1