yield 必须用加括号变成 yield_atom 才能用作子表达式。expressionatom ::= identifier | literal | enclosure enclosure ::= parenth_form | list_display | dict_display | set_display | generator_expression | yield_atom yield_atom ::= "(" yield_expression ")" yield_expression ::= "yield" [expression_list | "from" expression]
yield 必须用加括号变成 yield_atom 才能用作子表达式。
expression