mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-27 04:22:18 +08:00
Remove code that is not used anymore
This commit is contained in:
@@ -197,12 +197,6 @@ class NameFinder(object):
|
|||||||
not self._name_context.is_instance():
|
not self._name_context.is_instance():
|
||||||
flow_scope = self._name
|
flow_scope = self._name
|
||||||
base_nodes = [self._name_context.tree_node]
|
base_nodes = [self._name_context.tree_node]
|
||||||
try:
|
|
||||||
stub_node = self._name_context.stub_context.tree_node
|
|
||||||
except AttributeError:
|
|
||||||
pass
|
|
||||||
else:
|
|
||||||
base_nodes.append(stub_node)
|
|
||||||
|
|
||||||
if any(b.type == 'comp_for' for b in base_nodes):
|
if any(b.type == 'comp_for' for b in base_nodes):
|
||||||
return contexts
|
return contexts
|
||||||
|
|||||||
Reference in New Issue
Block a user