forked from VimPlug/jedi
Fix issues with random tuples in TreeArgument.
Thanks @micbou for noticing it. https://github.com/davidhalter/jedi/commit/b92c7d3351a34052237df4a292ec81ef97647e7f
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user