forked from VimPlug/jedi
A first very incomplete implementation of named expression support
This commit is contained in:
@@ -142,6 +142,8 @@ def eval_node(context, element):
|
||||
|
||||
# Generator.send() is not implemented.
|
||||
return NO_CONTEXTS
|
||||
elif typ == 'namedexpr_test':
|
||||
return eval_node(context, element.children[2])
|
||||
else:
|
||||
return eval_or_test(context, element)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user