On Thu, Dec 12, 2019, at 12:31, Andrew Barnert via Python-ideas wrote: > > >>> getslice[] > > SyntaxError: invalid syntax > > What would you expect these to return?
As an aside, I've occasionally wished that [] would be the same as [()], by analogy to [1,2]. _______________________________________________ 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/5KBFVDGET46WGFINPZNB4A2XUNHSDOS7/ Code of Conduct: http://python.org/psf/codeofconduct/