summaryrefslogtreecommitdiff
path: root/astroid/tree/scoped_nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/tree/scoped_nodes.py')
-rw-r--r--astroid/tree/scoped_nodes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/tree/scoped_nodes.py b/astroid/tree/scoped_nodes.py
index a5fe473c..b9f29ca4 100644
--- a/astroid/tree/scoped_nodes.py
+++ b/astroid/tree/scoped_nodes.py
@@ -571,6 +571,7 @@ class Module(LocalsDictNodeNG):
all = self.locals['__all__'][-1]
else:
return default
+
try:
explicit = next(all.assigned_stmts())
except exceptions.InferenceError: