Merge from 3.2: fix formatting of syntax description of function definition.

This commit is contained in:
Chris Jerdonek 2012-10-25 17:23:14 -07:00
commit 8b0f3ad9fa
1 changed files with 1 additions and 2 deletions

View File

@ -442,8 +442,7 @@ A function definition defines a user-defined function object (see section
decorator: "@" `dotted_name` ["(" [`parameter_list` [","]] ")"] NEWLINE
dotted_name: `identifier` ("." `identifier`)*
parameter_list: (`defparameter` ",")*
: ( "*" [`parameter`] ("," `defparameter`)*
: [, "**" `parameter`]
: ( "*" [`parameter`] ("," `defparameter`)* ["," "**" `parameter`]
: | "**" `parameter`
: | `defparameter` [","] )
parameter: `identifier` [":" `expression`]