[Python-checkins] peps: pep-0492: Add flow_stmt to Grammar
yury.selivanov
python-checkins at python.org
Wed Apr 22 02:52:27 CEST 2015
https://hg.python.org/peps/rev/e4e94b8fcf45
changeset: 5783:e4e94b8fcf45
user: Yury Selivanov <yselivanov at sprymix.com>
date: Tue Apr 21 20:52:19 2015 -0400
summary:
pep-0492: Add flow_stmt to Grammar
files:
pep-0492.txt | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -608,6 +608,9 @@
with_stmt | funcdef | classdef | decorated |
async_stmt)
+ flow_stmt: (break_stmt | continue_stmt | return_stmt |
+ raise_stmt | yield_stmt | await_stmt)
+
atom: ('(' [yield_expr|await_expr|testlist_comp] ')' |
'[' [testlist_comp] ']' |
'{' [dictorsetmaker] '}' |
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list