Author mark.dickinson
Recipients docs@python, mark.dickinson, r0b
Date 2020-01-08.12:58:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578488312.83.0.975894245632.issue39231@roundup.psfhosted.org>
In-reply-to
Content
[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.
History
Date User Action Args
2020-01-08 12:58:32mark.dickinsonsetrecipients: + mark.dickinson, docs@python, r0b
2020-01-08 12:58:32mark.dickinsonsetmessageid: <1578488312.83.0.975894245632.issue39231@roundup.psfhosted.org>
2020-01-08 12:58:32mark.dickinsonlinkissue39231 messages
2020-01-08 12:58:32mark.dickinsoncreate