diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 2a49ebd5bb0..25bcdbf2976 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -422,10 +422,10 @@ series of arguments: \production{call} {\token{primary} "(" [\token{argument_list} [","]] ")"} \production{argument_list} - {\token{positional_arguments} ["," \token{keyword_arguments} - ["," "*" \token{expression} ["," "**" \token{expression}]]]} - \productioncont{| \token{keyword_arguments} ["," "*" \token{expression} - ["," "**" \token{expression}]]} + {\token{positional_arguments} ["," \token{keyword_arguments}] + ["," "*" \token{expression}] ["," "**" \token{expression}]} + \productioncont{| \token{keyword_arguments} ["," "*" \token{expression}] + ["," "**" \token{expression}]} \productioncont{| "*" \token{expression} ["," "**" \token{expression}]} \productioncont{| "**" \token{expression}} \production{positional_arguments}