On Wed, Oct 28, 2020 at 5:12 PM Stephen J. Turnbull
<[email protected]> wrote:
>
> Christopher Barker writes:
>
>  > thing[i,j,k] is exactly equivalent to thing[(i,j,k)] because the tuple is
>  > "created by" the parentheses.
>
> Is that correct?  As I understand it, the tuple is created by the
> commas, and the parentheses are basically thrown away by the parser,
> as usual.

I think that sentence was perhaps meant to read "because the tuple is
NOT created by the parentheses" - the rest of the post makes full
sense that way.

ChrisA
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/XJFNX63FNPU7XJPY6NJMCX5VFX6IUEUJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to