pep-0492: Add flow_stmt to Grammar
This commit is contained in:
parent
cd946d1169
commit
19f729770d
|
@ -608,6 +608,9 @@ Grammar changes are also fairly minimal::
|
||||||
with_stmt | funcdef | classdef | decorated |
|
with_stmt | funcdef | classdef | decorated |
|
||||||
async_stmt)
|
async_stmt)
|
||||||
|
|
||||||
|
flow_stmt: (break_stmt | continue_stmt | return_stmt |
|
||||||
|
raise_stmt | yield_stmt | await_stmt)
|
||||||
|
|
||||||
atom: ('(' [yield_expr|await_expr|testlist_comp] ')' |
|
atom: ('(' [yield_expr|await_expr|testlist_comp] ')' |
|
||||||
'[' [testlist_comp] ']' |
|
'[' [testlist_comp] ']' |
|
||||||
'{' [dictorsetmaker] '}' |
|
'{' [dictorsetmaker] '}' |
|
||||||
|
|
Loading…
Reference in New Issue