summaryrefslogtreecommitdiff
path: root/numpy/_import_tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/_import_tools.py')
-rw-r--r--numpy/_import_tools.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/_import_tools.py b/numpy/_import_tools.py
index 4053057ab..b06fbff7e 100644
--- a/numpy/_import_tools.py
+++ b/numpy/_import_tools.py
@@ -152,7 +152,7 @@ class PackageLoader:
Parameters
----------
- *packges : arg-tuple
+ *packages : arg-tuple
the names (one or more strings) of all the modules one
wishes to load into the top-level namespace.
verbose= : integer
@@ -183,9 +183,6 @@ class PackageLoader:
postpone_import = getattr(info_module,'postpone_import',False)
if (postpone and not global_symbols) \
or (postpone_import and postpone is not None):
- self.log('__all__.append(%r)' % (package_name))
- if '.' not in package_name:
- self.parent_export_names.append(package_name)
continue
old_object = frame.f_locals.get(package_name,None)