Documentation
Under 6.2.4. Displays for lists, sets and dictionaries, the grammar is given as:
comp_for ::= ["async"] "for" target_list "in" or_test [comp_iter]
Should it be or_test
or atom
, i.e.:
comp_for ::= ["async"] "for" target_list "in" atom [comp_iter]
Or am I missing something?