[Scipy-svn] r2478 - trunk/Lib/sparse

scipy-svn at scipy.org scipy-svn at scipy.org
Tue Jan 2 23:08:57 EST 2007


Author: timl
Date: 2007-01-02 22:08:53 -0600 (Tue, 02 Jan 2007)
New Revision: 2478

Modified:
   trunk/Lib/sparse/sparse.py
Log:
remove unneeded return in __init__

Modified: trunk/Lib/sparse/sparse.py
===================================================================
--- trunk/Lib/sparse/sparse.py	2007-01-03 03:37:35 UTC (rev 2477)
+++ trunk/Lib/sparse/sparse.py	2007-01-03 04:08:53 UTC (rev 2478)
@@ -1643,7 +1643,6 @@
                     assert M == int(M) and M > 0
                     assert N == int(N) and N > 0
                     self.shape = (int(M), int(N))
-                    return
                 except (TypeError, ValueError, AssertionError):
                     raise TypeError, "dimensions must be a 2-tuple of positive"\
                             " integers"




More information about the Scipy-svn mailing list