A first very incomplete implementation of named expression support

This commit is contained in:
Dave Halter committed 2019-06-03 00:11:49 +02:00
1 parent 30526c564e
commit c8d658e452
2 files changed
+15

No files matched your search

+2
View File
@@ -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)