summaryrefslogtreecommitdiff
path: root/astroid/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/builder.py')
-rw-r--r--astroid/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/builder.py b/astroid/builder.py
index ee3b7e25..6dc214cb 100644
--- a/astroid/builder.py
+++ b/astroid/builder.py
@@ -214,7 +214,7 @@ class AstroidBuilder(raw_building.InspectBuilder):
imported = node.do_import_module()
except exceptions.AstroidBuildingError:
continue
- for name in imported.public_names():
+ for name in imported.wildcard_import_names():
node.parent.set_local(name, node)
sort_locals(node.parent.scope().locals[name])
else: