New submission from Webb Scales :
In Section 8.6 ("Function definitions"; https://docs.python.org/3/reference/compound_stmts.html#function-definitions), the definition of "parameter_list" looks slightly wrong:
parameter_list ::= defparameter ("," defparameter)* "," "/" ["," [parameter_list_no_posonly]] | parameter_list_no_posonly
The "/" (and the comma preceding it) is not a required component. (Sorry, I'm afraid I'm not smart enough right now to suggest a correction. :-p )
----------
assignee: docs@python
components: Documentation
messages: 392943
nosy: docs@python, webbnh
priority: normal
severity: normal
status: open
title: In documentation Section 8.6, the definition of parameter_list need correcting
versions: Python 3.9
_______________________________________
Python tracker
https://bugs.python.org/issue44038
_______________________________________