forked from VimPlug/jedi
Delete more unused code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user