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/compat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/oldnumeric/compat.py') 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") -- cgit v1.2.1