1
0
forked from VimPlug/jedi

Delete more unused code.

This commit is contained in:
Dave Halter
2016-12-17 18:00:54 +01:00
parent 9cbfb76eb5
commit 81e9403aef
5 changed files with 3 additions and 75 deletions

View File

@@ -367,18 +367,6 @@ class SelfNameFilter(InstanceClassFilter):
and trailer.children[0] == '.':
if name.is_definition() and self._access_possible(name):
yield name
continue
init_execution = self.context.get_init_function()
# Hopefully we can somehow change this.
if init_execution is not None and \
init_execution.start_pos < name.start_pos < init_execution.end_pos:
name = init_execution.name_for_position(name.start_pos)
yield name
def _check_flows(self, names):
return names