On Fri, Mar 13, 2020 at 7:10 PM Steven D'Aprano <[email protected]> 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 -- [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/6QUICE3VMR73QGLJY2WYFESIJJUMYDFW/ Code of Conduct: http://python.org/psf/codeofconduct/
