Allow assignment values to be complex expressions

This commit is contained in:
Kevin Brown 2020-05-15 22:19:28 -04:00
parent 9f3853815a
commit 143517e89f

View File

@ -464,7 +464,7 @@ def parse_block_set(ast):
return nodes.Assign(
key,
parse_variable(assignment['value']),
parse_conditional_expression(assignment['value']),
lineno=lineno_from_parseinfo(ast['parseinfo'])
)
elif 'start' in ast: