On Sun, Aug 30, 2020 at 11:56 PM Greg Ewing <greg.ew...@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)
*Pronouns: he/him **(why is my pronoun here?)*
<http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________
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/4KTGXSXOKHFTNLFGB7MJZ5TTYYBJI3DW/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to