mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-16 06:11:25 +08:00
Fix get_path_until_cursor for empty path + continuation
This commit is contained in:
1 parent
71455f6b31
commit
1f3c4700c9
1 file changed
+1
@@ -188,6 +188,7 @@ class ModuleWithCursor(Module):
|
||||
elif token_type == tokenize.NUMBER:
|
||||
pass
|
||||
else:
|
||||
self._column_temp = self._line_length - end[1]
|
||||
break
|
||||
|
||||
self._column_temp = self._line_length - end[1]
|
||||
|
||||
Reference in new issue
Block a user