[Python-checkins] cpython (3.5): docs: Fix productionlist for async def functions

yury.selivanov python-checkins at python.org
Sat Aug 1 22:20:03 CEST 2015


https://hg.python.org/cpython/rev/78c6149f5a4b
changeset:   97181:78c6149f5a4b
branch:      3.5
parent:      97176:7ce13edf8b0b
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Sat Aug 01 16:19:36 2015 -0400
summary:
  docs: Fix productionlist for async def functions

files:
  Doc/reference/compound_stmts.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -675,7 +675,7 @@
 -----------------------------
 
 .. productionlist::
-   async_funcdef: "async" `funcdef`
+   async_funcdef: [`decorators`] "async" "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite`
 
 .. index::
    keyword: async

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


More information about the Python-checkins mailing list