##// END OF EJS Templates
Merge pull request #11035 from takluyver/i11032...
Thomas Kluyver -
r24232:f26efbe0 merge
parent child Browse files
Show More
@@ -1371,7 +1371,7 b' class IPCompleter(Completer):'
1371 next_to_last_tree = interpreter._get_module().tree_node.children[-2]
1371 next_to_last_tree = interpreter._get_module().tree_node.children[-2]
1372 completing_string = False
1372 completing_string = False
1373 if isinstance(next_to_last_tree, ErrorLeaf):
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 # if we are in a string jedi is likely not the right candidate for
1375 # if we are in a string jedi is likely not the right candidate for
1376 # now. Skip it.
1376 # now. Skip it.
1377 try_jedi = not completing_string
1377 try_jedi = not completing_string
General Comments 0
You need to be logged in to leave comments. Login now