[Python-checkins] peps: pep-0492: Fix snippet with Grammar

yury.selivanov python-checkins at python.org
Fri Apr 17 23:37:44 CEST 2015


https://hg.python.org/peps/rev/6a3cf99aace6
changeset:   5764:6a3cf99aace6
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Fri Apr 17 17:37:41 2015 -0400
summary:
  pep-0492: Fix snippet with Grammar

files:
  pep-0492.txt |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep-0492.txt b/pep-0492.txt
--- a/pep-0492.txt
+++ b/pep-0492.txt
@@ -584,7 +584,7 @@
     decorated: decorators (classdef | funcdef | async_funcdef)
     async_funcdef: ASYNC funcdef
 
-    async_stmt: ASYNC (funcdef | with_stmt) # will add for_stmt later
+    async_stmt: ASYNC (funcdef | with_stmt | for_stmt)
 
     compound_stmt: (if_stmt | while_stmt | for_stmt | try_stmt | with_stmt
                    | funcdef | classdef | decorated | async_stmt)

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list