diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-12-24 02:01:43 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-12-24 02:01:43 (GMT) |
commit | 57f97f400bb7418d125704cafeb23262dc8adcd3 (patch) | |
tree | 65fc813437f88757f3c2d4e3237a013e428aa5ac /Doc/reference | |
parent | ad17358a2f00b22e43fb620ee3b801721098dd3d (diff) | |
download | cpython-57f97f400bb7418d125704cafeb23262dc8adcd3.zip cpython-57f97f400bb7418d125704cafeb23262dc8adcd3.tar.gz cpython-57f97f400bb7418d125704cafeb23262dc8adcd3.tar.bz2 |
parameter_list was meant here
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | 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 index e20eeb0..1f036d2 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -427,7 +427,7 @@ A function definition defines a user-defined function object (see section .. productionlist:: funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite` decorators: `decorator`+ - decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE + decorator: "@" `dotted_name` ["(" [`parameter_list` [","]] ")"] NEWLINE dotted_name: `identifier` ("." `identifier`)* parameter_list: (`defparameter` ",")* : ( "*" [`parameter`] ("," `defparameter`)* |