Message359590
[Robert]
> It is not a "positional argument" but an "optional argument".
I don't think I understand. Here the phrase "positional argument" in the docs is, I assume, referring to the parameter "ham: str" in the parameter list. So it's not optional; it's a required, positional-or-keyword parameter.
I don't know whether the text of this section should be being tightened up with respect to the distinction between (formal) parameters and actual arguments, though. There's a tradeoff between readability and accessibility on the one hand, and technical accuracy on the other. |
|
| Date |
User |
Action |
Args |
| 2020-01-08 12:58:32 | mark.dickinson | set | recipients:
+ mark.dickinson, docs@python, r0b |
| 2020-01-08 12:58:32 | mark.dickinson | set | messageid: <1578488312.83.0.975894245632.issue39231@roundup.psfhosted.org> |
| 2020-01-08 12:58:32 | mark.dickinson | link | issue39231 messages |
| 2020-01-08 12:58:32 | mark.dickinson | create | |
|