diff options
Diffstat (limited to 'numpy/oldnumeric/compat.py')
-rw-r--r-- | numpy/oldnumeric/compat.py | 4 |
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") |