[New-bugs-announce] [issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

Webb Scales report at bugs.python.org
Tue May 4 16:08:08 EDT 2021


New submission from Webb Scales <wscales at redhat.com>:

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 at python
components: Documentation
messages: 392943
nosy: docs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue44038>
_______________________________________


More information about the New-bugs-announce mailing list