diff options
-rw-r--r-- | astroid/scoped_nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/scoped_nodes.py b/astroid/scoped_nodes.py index d16150ee..d2feabca 100644 --- a/astroid/scoped_nodes.py +++ b/astroid/scoped_nodes.py @@ -257,7 +257,7 @@ class Module(LocalsDictNodeNG): # names of python special attributes (handled by getattr impl.) # names of module attributes available through the global scope - scope_attrs = set(('__name__', '__doc__', '__file__', '__path__')) + scope_attrs = {'__name__', '__doc__', '__file__', '__path__', '__package__'} _other_fields = ('name', 'doc', 'file', 'path', 'package', 'pure_python', 'future_imports') |