1
0
forked from VimPlug/jedi

Refactor run.py to use the new API

This commit is contained in:
Dave Halter
2019-12-20 17:25:35 +01:00
parent 2cc898ba35
commit f03c70e577
3 changed files with 37 additions and 41 deletions

View File

@@ -283,7 +283,8 @@ class Script(object):
with debug.increase_indent_cm('goto_assignments'):
return self._goto_assignments(line, column, **kwargs)
def _goto_assignments(self, line, column, follow_imports, follow_builtin_imports,
def _goto_assignments(self, line, column, follow_imports=False,
follow_builtin_imports=False,
only_stubs=False, prefer_stubs=False):
def filter_follow_imports(names):
for name in names: