summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/defmatrix.py
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/matrixlib/defmatrix.py
parentcfd766456368777bcb0d5edabd360b3aeb02d3f8 (diff)
downloadnumpy-e1a9692cc36e4353798a332c834fce7aa6cf9b54.tar.gz
STY: Update exception styles, trickier ones.
Diffstat (limited to 'numpy/matrixlib/defmatrix.py')
-rw-r--r--numpy/matrixlib/defmatrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/matrixlib/defmatrix.py b/numpy/matrixlib/defmatrix.py
index a46f2dab0..0ad798200 100644
--- a/numpy/matrixlib/defmatrix.py
+++ b/numpy/matrixlib/defmatrix.py
@@ -995,7 +995,7 @@ def _from_string(str,gdict,ldict):
try:
thismat = gdict[col]
except KeyError:
- raise KeyError, "%s not found" % (col,)
+ raise KeyError("%s not found" % (col,))
coltup.append(thismat)
rowtup.append(concatenate(coltup,axis=-1))