Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion astroid/nodes/scoped_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ def __init__(
self.file = file
self.path = path
self.package = package
self.parent = parent
self.pure_python = pure_python
self.locals = self.globals = {}
"""A map of the name of a local variable to the node defining the local.
Expand All @@ -524,6 +523,8 @@ def __init__(
"""
self.future_imports = set()

super().__init__(lineno=1, parent=parent)

# pylint: enable=redefined-builtin

def postinit(self, body=None):
Expand Down