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.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/astroid/tree/scoped_nodes.py b/astroid/tree/scoped_nodes.py
index 4e7758e3..75406d5e 100644
--- a/astroid/tree/scoped_nodes.py
+++ b/astroid/tree/scoped_nodes.py
@@ -164,12 +164,6 @@ class LocalsDictNodeNG(node_classes.LookupMixIn,
"""
return self
- def scope(self):
- """return the first node defining a new scope (i.e. Module,
- FunctionDef, ClassDef, Lambda but also GeneratorExp, DictComp and SetComp)
- """
- return self
-
def _scope_lookup(self, node, name, offset=0):
"""XXX method for interfacing the scope lookup"""
try: