On Wed, Oct 28, 2020 at 5:12 PM Stephen J. Turnbull <turnbull.stephen...@u.tsukuba.ac.jp> 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 -- 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/XJFNX63FNPU7XJPY6NJMCX5VFX6IUEUJ/ Code of Conduct: http://python.org/psf/codeofconduct/