Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75b5ab5

Browse files
committed
docs: Fix productionlist for async def functions
1 parent 26f6676 commit 75b5ab5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ Coroutine function definition
675675
-----------------------------
676676

677677
.. productionlist::
678-
async_funcdef: "async" `funcdef`
678+
async_funcdef: [`decorators`] "async" "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite`
679679

680680
.. index::
681681
keyword: async

0 commit comments

Comments
 (0)