[Scipy-svn] r6750 - trunk/scipy/io

scipy-svn@scip... scipy-svn@scip...
Sat Sep 11 19:58:13 CDT 2010


Author: ptvirtan
Date: 2010-09-11 19:58:13 -0500 (Sat, 11 Sep 2010)
New Revision: 6750

Modified:
   trunk/scipy/io/__init__.py
Log:
3K: io: use import in a way that does not confuse 2to3

Modified: trunk/scipy/io/__init__.py
===================================================================
--- trunk/scipy/io/__init__.py	2010-09-12 00:58:00 UTC (rev 6749)
+++ trunk/scipy/io/__init__.py	2010-09-12 00:58:13 UTC (rev 6750)
@@ -14,7 +14,7 @@
 from netcdf import netcdf_file, netcdf_variable
 
 from recaster import sctype_attributes, Recaster
-import matlab.byteordercodes as byteordercodes
+from matlab import byteordercodes
 from data_store import save_as_module
 from mmio import mminfo, mmread, mmwrite
 from idl import readsav



More information about the Scipy-svn mailing list