summaryrefslogtreecommitdiff
path: root/numpy/oldnumeric/compat.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/compat.py
parenta4100ba6c440bdf2a2b3cfc31995eb5e009846ee (diff)
downloadnumpy-cfd766456368777bcb0d5edabd360b3aeb02d3f8.tar.gz
STY: Update exception style, easy ones.
Diffstat (limited to 'numpy/oldnumeric/compat.py')
-rw-r--r--numpy/oldnumeric/compat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/oldnumeric/compat.py b/numpy/oldnumeric/compat.py
index 607dd0b90..083a1fa15 100644
--- a/numpy/oldnumeric/compat.py
+++ b/numpy/oldnumeric/compat.py
@@ -112,6 +112,6 @@ else:
class Pickler(pickle.Pickler):
def __init__(self, *args, **kwds):
- raise NotImplementedError, "Don't pickle new arrays with this"
+ raise NotImplementedError("Don't pickle new arrays with this")
def save_array(self, object):
- raise NotImplementedError, "Don't pickle new arrays with this"
+ raise NotImplementedError("Don't pickle new arrays with this")