1
0
forked from VimPlug/jedi

temporary conversion of the imports module to separate import processing from actually importing things

This commit is contained in:
Dave Halter
2014-03-19 16:40:38 +01:00
parent 9f12352ec1
commit 58026c6542
5 changed files with 155 additions and 127 deletions

View File

@@ -26,7 +26,7 @@ def test_import_not_in_sys_path():
def test_import_empty():
""" github #340, imports have """
""" github #340, return the full word. """
completion = jedi.Script("import ").completions()[0]
definition = completion.follow_definition()[0]
print(definition)