[Scipy-svn] r4733 - in trunk/scipy/misc: . tests

scipy-svn@scip... scipy-svn@scip...
Thu Sep 18 14:50:50 CDT 2008


Author: alan.mcintyre
Date: 2008-09-18 14:50:45 -0500 (Thu, 18 Sep 2008)
New Revision: 4733

Modified:
   trunk/scipy/misc/common.py
   trunk/scipy/misc/pilutil.py
   trunk/scipy/misc/tests/test_pilutil.py
Log:
Removed unused imports.


Modified: trunk/scipy/misc/common.py
===================================================================
--- trunk/scipy/misc/common.py	2008-09-18 19:45:20 UTC (rev 4732)
+++ trunk/scipy/misc/common.py	2008-09-18 19:50:45 UTC (rev 4733)
@@ -3,16 +3,9 @@
 (special, linalg)
 """
 
-import sys
+from numpy import exp, asarray, arange, newaxis, hstack, product, array, \
+                  where, zeros, extract, place, pi, sqrt, eye, poly1d, dot, r_
 
-import numpy
-
-from numpy import exp, asarray, arange, \
-     newaxis, hstack, product, array, where, \
-     zeros, extract, place, pi, sqrt, eye, poly1d, dot, r_
-
-from numpy import who
-
 __all__ = ['factorial','factorial2','factorialk','comb',
            'central_diff_weights', 'derivative', 'pade', 'lena']
 

Modified: trunk/scipy/misc/pilutil.py
===================================================================
--- trunk/scipy/misc/pilutil.py	2008-09-18 19:45:20 UTC (rev 4732)
+++ trunk/scipy/misc/pilutil.py	2008-09-18 19:50:45 UTC (rev 4733)
@@ -1,6 +1,5 @@
 # Functions which need the PIL
 
-import types
 import numpy
 import tempfile
 

Modified: trunk/scipy/misc/tests/test_pilutil.py
===================================================================
--- trunk/scipy/misc/tests/test_pilutil.py	2008-09-18 19:45:20 UTC (rev 4732)
+++ trunk/scipy/misc/tests/test_pilutil.py	2008-09-18 19:50:45 UTC (rev 4733)
@@ -1,5 +1,4 @@
 import os.path
-import glob
 import numpy as np
 
 from numpy.testing import *



More information about the Scipy-svn mailing list