[Numpy-svn] r4938 - trunk/numpy/oldnumeric

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Mar 24 18:05:55 EDT 2008


Author: rkern
Date: 2008-03-24 17:05:53 -0500 (Mon, 24 Mar 2008)
New Revision: 4938

Modified:
   trunk/numpy/oldnumeric/misc.py
Log:
NotImplementedError is the exception, not NotImplemented

Modified: trunk/numpy/oldnumeric/misc.py
===================================================================
--- trunk/numpy/oldnumeric/misc.py	2008-03-23 17:16:06 UTC (rev 4937)
+++ trunk/numpy/oldnumeric/misc.py	2008-03-24 22:05:53 UTC (rev 4938)
@@ -31,12 +31,12 @@
 
 class Unpickler(pickle.Unpickler):
     def __init__(self, *args, **kwds):
-        raise NotImplemented
+        raise NotImplementedError
     def load_array(self):
-        raise NotImplemented
+        raise NotImplementedError
 
 class Pickler(pickle.Pickler):
     def __init__(self, *args, **kwds):
-        raise NotImplemented
+        raise NotImplementedError
     def save_array(self, object):
-        raise NotImplemented
+        raise NotImplementedError




More information about the Numpy-svn mailing list