[Scipy-svn] r3674 - branches/io_new

scipy-svn@scip... scipy-svn@scip...
Sat Dec 15 22:35:28 CST 2007


Author: brian.hawthorne
Date: 2007-12-15 22:35:23 -0600 (Sat, 15 Dec 2007)
New Revision: 3674

Modified:
   branches/io_new/data_store.py
   branches/io_new/pickler.py
Log:
fix syntax errors

Modified: branches/io_new/data_store.py
===================================================================
--- branches/io_new/data_store.py	2007-12-16 04:06:55 UTC (rev 3673)
+++ branches/io_new/data_store.py	2007-12-16 04:35:23 UTC (rev 3674)
@@ -24,7 +24,7 @@
 numpy.deprecate_with_doc = lambda doc: (lambda func: func)
 # snip off---- DELETE after numpy.deprecate_with_doc is available
 
-from numpy deprecate_with_doc
+from numpy import deprecate_with_doc
 
 
 @deprecate_with_doc('')
@@ -51,7 +51,7 @@
     create_module(file_name)
     create_shelf(file_name,data)
 
-save = @deprecate_with_doc('')(save_as_module)
+save = deprecate_with_doc('')(save_as_module)
 
 @deprecate_with_doc('')
 def create_module(file_name):

Modified: branches/io_new/pickler.py
===================================================================
--- branches/io_new/pickler.py	2007-12-16 04:06:55 UTC (rev 3673)
+++ branches/io_new/pickler.py	2007-12-16 04:35:23 UTC (rev 3674)
@@ -5,7 +5,7 @@
 numpy.deprecate_with_doc = lambda doc: (lambda func: func)
 # snip off---- DELETE after numpy.deprecate_with_doc is available
 
-from numpy deprecate_with_doc
+from numpy import deprecate_with_doc
 
 @deprecate_with_doc('')
 def objsave(file, allglobals, *args):



More information about the Scipy-svn mailing list