
Oct. 7, 2020
10:37 a.m.
On Wed, Sep 30, 2020 at 11:03:28AM -0300, Sebastian Kreft wrote:
Have you considered using matrix[row=3], matrix[col=3]? In that case it would be a keyword only access. What advantages do you see with your current API?
Yes I have considered it. 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 But it's too early for me to worry too much about the exact choice of keywords. The PEP isn't even accepted yet :-) -- Steve