1
0
forked from VimPlug/jedi

Fix issues with random tuples in TreeArgument.

Thanks @micbou for noticing it.
b92c7d3351
This commit is contained in:
Dave Halter
2018-01-18 09:54:19 +01:00
parent b92c7d3351
commit 609f59ce41
3 changed files with 23 additions and 24 deletions

View File

@@ -119,7 +119,7 @@ def eval_node(context, element):
def eval_trailer(context, base_contexts, trailer):
trailer_op, node = trailer.children[:2]
if node == ')': # `arglist` is optional.
node = ()
node = None
if trailer_op == '[':
trailer_op, node, _ = trailer.children