forked from VimPlug/jedi
fix start_pos of multiple elements
This commit is contained in:
@@ -373,7 +373,8 @@ def find_name(scope, name_str, position=None, search_global=False,
|
||||
if not result and isinstance(nscope, er.Instance):
|
||||
# __getattr__ / __getattribute__
|
||||
result += check_getattr(nscope, name_str)
|
||||
debug.dbg('sfn filter "%s" in %s: %s' % (name_str, nscope, result))
|
||||
debug.dbg('sfn filter "%s" in %s: %s@%s' % (name_str, nscope, result,
|
||||
position))
|
||||
return result
|
||||
|
||||
def descriptor_check(result):
|
||||
|
||||
Reference in New Issue
Block a user