On Sun, Aug 30, 2020 at 11:56 PM Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
On 31/08/20 4:11 pm, Guido van Rossum wrote:
> Okay, and if I write
> a.__getitem__((1, 3), k=2) will the function see the same thing?

No, it will see (i, j, k) == (1, 3, 2).

That was a typo. I meant to ask whether `a.__getitem__((1, 3), j=2)` would see `(i, j, k) == (1, 2, 3)`. But it should probably be an error ("duplicate value for j").
 
No, it was a serious suggestion. But if you don't like it,
that's fine.

Okay.

--
--Guido van Rossum (python.org/~guido)