On Sun, Aug 30, 2020 at 09:56:28PM +1200, Greg Ewing wrote: > A thought just occurred to me. If we hadn't got rid of tuple > unpacking in argument lists, we would have been able to write > > def __getitem__(self, (x, y, z), **kwds): > ...
Indeed. Now that Python is moving to a PEG parser, maybe we could consider tuple unpacking parameters again? -- Steve _______________________________________________ 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/VGGEC4DZAPFV4ZUFCHOFP3JRO7G3RLCH/ Code of Conduct: http://python.org/psf/codeofconduct/