1
0
forked from VimPlug/jedi

fix problems with points in completion

This commit is contained in:
David Halter
2012-12-29 23:47:20 +01:00
parent 07dbebe277
commit 886d43fd4c

View File

@@ -157,7 +157,8 @@ class ModuleWithCursor(Module):
except tokenize.TokenError:
debug.warning("Tokenize couldn't finish", sys.exc_info)
return string[::-1]
# string can still contain spaces at the end
return string[::-1].strip()
def get_path_under_cursor(self):
"""