diff options
author | Travis Oliphant <oliphant@enthought.com> | 2007-03-31 22:56:19 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2007-03-31 22:56:19 +0000 |
commit | f80ab5e1c4c5b51a7d02a22e6b8cb6f86daa3563 (patch) | |
tree | 3e03bb4ecad2400b0854a7e78017a9fc04c42702 /numpy/__init__.py | |
parent | dad871430574802f8d32cd515d19df77d0a006af (diff) | |
download | numpy-f80ab5e1c4c5b51a7d02a22e6b8cb6f86daa3563.tar.gz |
Add new MACRO. Fix ticket #454 by changing pkgload to a function instead of an object.
Diffstat (limited to 'numpy/__init__.py')
-rw-r--r-- | numpy/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index f75b74f4d..c7a7b80d4 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -29,7 +29,10 @@ else: from version import version as __version__ from _import_tools import PackageLoader - pkgload = PackageLoader() + + def pkgload(*packages, **options): + loader = PackageLoader(infunc=True) + return loader(*packages, **options) import testing from testing import ScipyTest, NumpyTest |