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

Skip to content

Commit bc7ee43

Browse files
committed
Backed out changeset 71ff2235bb4c (closes #27042)
1 parent ed64d6b commit bc7ee43

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
@@ -469,7 +469,7 @@ A function definition defines a user-defined function object (see section
469469
.. productionlist::
470470
funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")" ["->" `expression`] ":" `suite`
471471
decorators: `decorator`+
472-
decorator: "@" `dotted_name` ["(" [`parameter_list` [","]] ")"] NEWLINE
472+
decorator: "@" `dotted_name` ["(" [`argument_list` [","]] ")"] NEWLINE
473473
dotted_name: `identifier` ("." `identifier`)*
474474
parameter_list: (`defparameter` ",")*
475475
: | "*" [`parameter`] ("," `defparameter`)* ["," "**" `parameter`]

0 commit comments

Comments
 (0)