This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author veky
Recipients bluenix, veky
Date 2022-03-18.04:48:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647578914.25.0.136336020424.issue47054@roundup.psfhosted.org>
In-reply-to
Content
The problem is more subtle. The thing is, "default parameter" doesn't make sense in this context. Yes, a and b are parameter, but a is not "default parameter" in any sensible way. It is _None_ which is the default argument for parameter a, while parameter b has no default argument. In other words, if the function weren't called with a first argument, the default argument would be used.

So, the fix should be a bit more complicated. Maybe, "a parameter without a default follows a parameter with a default"?
History
Date User Action Args
2022-03-18 04:48:34vekysetrecipients: + veky, bluenix
2022-03-18 04:48:34vekysetmessageid: <1647578914.25.0.136336020424.issue47054@roundup.psfhosted.org>
2022-03-18 04:48:34vekylinkissue47054 messages
2022-03-18 04:48:34vekycreate