On Wed, 7 Oct 2020 at 11:39, Steven D'Aprano <st...@pearwood.info> wrote:
> One possible advantage is that with axis='row', I don't have to
> worry about, or test for, mutually exclusive keywords:
>
>     matrix[row=2, col=3]
>     # can't get both a row and a column at the same time

Well, they are not mutually exclusive in this case. You would get the
element at row 2 col 3.


-- 
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/4XUCAVPLLWVNPT6ZCTC7OBRVEFIRIWVB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to