summaryrefslogtreecommitdiff
path: root/astroid/tree/scoped_nodes.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-11-01 18:08:14 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-11-01 18:08:14 +0200
commita186a694ae06dd2c644bc623d505395bf72d8e3f (patch)
tree7e18f3469a43e8a0b94e5939632f3f57d29984ea /astroid/tree/scoped_nodes.py
parentc7d03eced84d57fff7690ec05d30a2bea03aec32 (diff)
downloadastroid-git-a186a694ae06dd2c644bc623d505395bf72d8e3f.tar.gz
Move the implementation of scopes into interpreter.scopes, which makes it more amenable to changes.
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: