1
0
forked from VimPlug/jedi

Finally fix all tests.

This commit is contained in:
Dave Halter
2016-07-25 00:14:42 +02:00
parent ebbaaf7ad2
commit aeb734564c
3 changed files with 6 additions and 14 deletions

View File

@@ -74,7 +74,7 @@ def setup_readline(namespace_module=__main__):
lines = common.splitlines(text)
position = (len(lines), len(lines[-1]))
name = get_on_completion_name(interpreter._get_module(), position)
name = get_on_completion_name(interpreter._get_module(), lines, position)
before = text[:len(text) - len(name)]
completions = interpreter.completions()
finally: