[docs] [issue28978] a redundant right parentheses in the EBNF rules of parameter_list

woo yoo report at bugs.python.org
Thu Dec 15 06:59:34 EST 2016


New submission from woo yoo:

Quote the documentation as below:

> parameter_list ::=  (defparameter ",")*
                    | "*" [parameter] ("," defparameter)* ["," "**" parameter]
                    | "**" parameter
                    | defparameter [","] )

The last right parenthesis is redundant.And the second alternative form is not complete, it does not incorporate a case that only include starred parameter.

----------
assignee: docs at python
components: Documentation
messages: 283288
nosy: docs at python, woo yoo
priority: normal
severity: normal
status: open
title: a redundant right  parentheses in the EBNF rules of parameter_list
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28978>
_______________________________________


More information about the docs mailing list