pep-0492: Add flow_stmt to Grammar

This commit is contained in:
Yury Selivanov 2015-04-21 20:52:19 -04:00
parent cd946d1169
commit 19f729770d
1 changed files with 3 additions and 0 deletions

View File

@ -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] '}' |