[Scipy-svn] r2546 - trunk/Lib/sandbox/models

scipy-svn at scipy.org scipy-svn at scipy.org
Sun Jan 14 06:35:33 CST 2007


Author: jarrod.millman
Date: 2007-01-14 06:35:28 -0600 (Sun, 14 Jan 2007)
New Revision: 2546

Modified:
   trunk/Lib/sandbox/models/__init__.py
Log:
use absolute imports and define __all__


Modified: trunk/Lib/sandbox/models/__init__.py
===================================================================
--- trunk/Lib/sandbox/models/__init__.py	2007-01-13 17:33:43 UTC (rev 2545)
+++ trunk/Lib/sandbox/models/__init__.py	2007-01-14 12:35:28 UTC (rev 2546)
@@ -2,15 +2,17 @@
 # models - Statistical Models
 #
 
-from info import __doc__
+from scipy.sandbox.models.info import __doc__
 
-import model
-import formula
-import regression
-import robust
-import family
-from glm import model as glm
-from rlm import model as rlm
+import scipy.sandbox.models.model
+import scipy.sandbox.models.formula
+import scipy.sandbox.models.regression
+import scipy.sandbox.models.robust
+import scipy.sandbox.models.family
+from scipy.sandbox.models.glm import model as glm
+from scipy.sandbox.models.rlm import model as rlm
 
+__all__ = filter(lambda s:not s.startswith('_'),dir())
+
 from numpy.testing import NumpyTest
 test = NumpyTest().test



More information about the Scipy-svn mailing list