mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-04 06:25:47 +08:00
fix problems with points in completion
This commit is contained in:
+2
-1
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user