New submission from Webb Scales <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue44038>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com