From cec9a2ee40ef84dab429e71825ea9c4c9765aa40 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Thu, 5 Jan 2006 10:40:20 +0000 Subject: Cleaning up __all__ list and numpy namespace. --- numpy/lib/__init__.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'numpy/lib/__init__.py') diff --git a/numpy/lib/__init__.py b/numpy/lib/__init__.py index 13c5ec10b..34a39e63b 100644 --- a/numpy/lib/__init__.py +++ b/numpy/lib/__init__.py @@ -13,10 +13,20 @@ import scimath as math from polynomial import * from machar import * from getlimits import * -import convertcode +#import convertcode from utils import * -__all__ = filter(lambda s:not s.startswith('_'),dir()) +__all__ = [] +__all__ += type_check.__all__ +__all__ += index_tricks.__all__ +__all__ += function_base.__all__ +__all__ += shape_base.__all__ +__all__ += twodim_base.__all__ +__all__ += ufunclike.__all__ +__all__ += polynomial.__all__ +__all__ += machar.__all__ +__all__ += getlimits.__all__ +__all__ += utils.__all__ from numpy.testing import ScipyTest test = ScipyTest().test -- cgit v1.2.1