summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-05-17 06:18:33 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-05-17 06:18:33 (GMT)
commitbc7ee43a6de908641a012af107a50f38c75d9721 (patch)
tree8e553bf6c6962917f2e799461db6b3da37ad7196 /Doc/reference
parented64d6b4a5bdec05d85506538b2d27434943a433 (diff)
downloadcpython-bc7ee43a6de908641a012af107a50f38c75d9721.zip
cpython-bc7ee43a6de908641a012af107a50f38c75d9721.tar.gz
cpython-bc7ee43a6de908641a012af107a50f38c75d9721.tar.bz2
Backed out changeset 71ff2235bb4c (closes #27042)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/compound_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 24e890d..d45a880 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -469,7 +469,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` ["(" [`parameter_list` [","]] ")"] NEWLINE
+ decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
dotted_name: `identifier` ("." `identifier`)*
parameter_list: (`defparameter` ",")*
: | "*" [`parameter`] ("," `defparameter`)* ["," "**" `parameter`]