[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-21 Thread Webb Scales
Webb Scales added the comment: I concur -- it is correct as it is: I wasn't properly interpreting the alternation. Thank you for your attention; sorry for the false alarm! -- ___ Python tracker

[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: After mentally reparsing and translating to English, I think you are right. -- ___ Python tracker ___

[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-21 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think is correct: parameter_list ::= defparameter ("," defparameter)* "," "/" ["," [parameter_list_no_posonly]] | parameter_list_no_posonly Says "a parameter_list" is either: defparameter ("," defparameter)* "," "/" [","

[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I *think* that another bracket pair is needed, changing "," "/" to ["," "/"] -- nosy: +pablogsal, terry.reedy versions: +Python 3.11 -Python 3.9 ___ Python tracker

[issue44038] In documentation Section 8.6, the definition of parameter_list need correcting

2021-05-04 Thread Webb Scales
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)* "," "/" [","