On Fri, Mar 13, 2020 at 7:10 PM Steven D'Aprano <st...@pearwood.info> wrote: > > On Thu, Mar 12, 2020 at 03:02:28PM -0000, Eric Wieser wrote: > > > TL;DR: should we make `del x` an expression that returns the value of `x`. > > What would `del x, y, z` return? >
A tuple of the former values of x, y, and z. I don't see what else it could logically do. 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/6QUICE3VMR73QGLJY2WYFESIJJUMYDFW/ Code of Conduct: http://python.org/psf/codeofconduct/