[Python-Dev] PEP 457: Syntax For Positional-Only Parameters (original) (raw)

Steven D'Aprano steve at pearwood.info
Thu Oct 10 00:12:45 CEST 2013


On Wed, Oct 09, 2013 at 02:25:18PM -0400, Terry Reedy wrote:

Unlike Georg, I think '/' is plausibly ok. You should, however, explicitly say in the PEP that it was selected not randomly but by rough analogy. Division (/) is the inverse of multiplication (*), and positional-only is sort of the 'inverse' of keyword-only. (If I am wrong, and the above is just an accident, it is at least a way to remember ;-).

I recall that was exactly the analogy Guido used when he first suggested the syntax.

-- Steven



More information about the Python-Dev mailing list