Show More
@@ -1371,7 +1371,7 b' class IPCompleter(Completer):' | |||
|
1371 | 1371 | next_to_last_tree = interpreter._get_module().tree_node.children[-2] |
|
1372 | 1372 | completing_string = False |
|
1373 | 1373 | if isinstance(next_to_last_tree, ErrorLeaf): |
|
1374 | completing_string = next_to_last_tree.value[0] in {'"', "'"} | |
|
1374 | completing_string = next_to_last_tree.value.lstrip()[0] in {'"', "'"} | |
|
1375 | 1375 | # if we are in a string jedi is likely not the right candidate for |
|
1376 | 1376 | # now. Skip it. |
|
1377 | 1377 | try_jedi = not completing_string |
General Comments 0
You need to be logged in to leave comments.
Login now