Commit 32473e73 authored by Chris Jerdonek's avatar Chris Jerdonek

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

parent b74e02e6
...@@ -431,7 +431,7 @@ A function definition defines a user-defined function object (see section ...@@ -431,7 +431,7 @@ A function definition defines a user-defined function object (see section
funcdef: "def" `funcname` "(" [`parameter_list`] ")" ":" `suite` funcdef: "def" `funcname` "(" [`parameter_list`] ")" ":" `suite`
dotted_name: `identifier` ("." `identifier`)* dotted_name: `identifier` ("." `identifier`)*
parameter_list: (`defparameter` ",")* parameter_list: (`defparameter` ",")*
: ( "*" `identifier` [, "**" `identifier`] : ( "*" `identifier` ["," "**" `identifier`]
: | "**" `identifier` : | "**" `identifier`
: | `defparameter` [","] ) : | `defparameter` [","] )
defparameter: `parameter` ["=" `expression`] defparameter: `parameter` ["=" `expression`]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment