[Numpy-svn] r5828 - trunk/numpy/lib

numpy-svn@scip... numpy-svn@scip...
Wed Sep 17 22:34:00 CDT 2008


Author: alan.mcintyre
Date: 2008-09-17 22:33:58 -0500 (Wed, 17 Sep 2008)
New Revision: 5828

Modified:
   trunk/numpy/lib/index_tricks.py
   trunk/numpy/lib/twodim_base.py
   trunk/numpy/lib/utils.py
Log:
Removed unused imports.


Modified: trunk/numpy/lib/index_tricks.py
===================================================================
--- trunk/numpy/lib/index_tricks.py	2008-09-18 03:33:15 UTC (rev 5827)
+++ trunk/numpy/lib/index_tricks.py	2008-09-18 03:33:58 UTC (rev 5828)
@@ -7,7 +7,7 @@
 
 import sys
 import numpy.core.numeric as _nx
-from numpy.core.numeric import asarray, ScalarType, array, dtype
+from numpy.core.numeric import asarray, ScalarType, array
 from numpy.core.numerictypes import find_common_type
 import math
 

Modified: trunk/numpy/lib/twodim_base.py
===================================================================
--- trunk/numpy/lib/twodim_base.py	2008-09-18 03:33:15 UTC (rev 5827)
+++ trunk/numpy/lib/twodim_base.py	2008-09-18 03:33:58 UTC (rev 5828)
@@ -6,7 +6,7 @@
            'tril','vander','histogram2d']
 
 from numpy.core.numeric import asanyarray, equal, subtract, arange, \
-     zeros, arange, greater_equal, multiply, ones, asarray
+     zeros, greater_equal, multiply, ones, asarray
 
 def fliplr(m):
     """

Modified: trunk/numpy/lib/utils.py
===================================================================
--- trunk/numpy/lib/utils.py	2008-09-18 03:33:15 UTC (rev 5827)
+++ trunk/numpy/lib/utils.py	2008-09-18 03:33:58 UTC (rev 5828)
@@ -4,9 +4,7 @@
 import types
 import re
 
-from numpy.core.numerictypes import obj2sctype, generic, issubclass_, \
-    issubsctype, issubdtype
-from numpy.core.multiarray import dtype as _dtype
+from numpy.core.numerictypes import issubclass_, issubsctype, issubdtype
 from numpy.core import product, ndarray
 
 __all__ = ['issubclass_', 'get_numpy_include', 'issubsctype',



More information about the Numpy-svn mailing list