On Wed, 30 Sep 2020 at 06:44, Steven D'Aprano <st...@pearwood.info> wrote:
>     matrix[3, 4]           # unambiguously a cell reference
>     matrix[3]              # ambiguous, forbidden
>     matrix[3, axis='row']  # unambiguously a row
>     matrix[3, axis='col']  # unambiguously a column

 I guess everybody already knows this, but I would hope the obvious
choice here is

matrix[row=3]

But in any case, the PEP does not prescribe how the keyword arguments
should be used, only that are possible. How they are used (or
misused.. :) ) is of course up to the implementation.

-- 
Kind regards,

Stefano Borini
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/SAO2MSJGHZ5AN3WHWYF24DUT33WGUJGA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to