On 11 April 2018 at 23:09, Brendan Barnwell <brenb...@brenbarn.net> wrote:
> On 2018-04-11 11:05, David Mertz wrote: > >> How about this, Brendan? >> >> _, x1, x2 = (D := b**2 - 4*a*c), (-b + sqrt(D))/2, (-b - sqrt(D))/2 >> >> I'm not sure I love this, but I don't hate it. >> > > That's clever, but why bother? I can already do this with > existing Python: Well, you were the one who suggested using an assignment expression for that case.
_______________________________________________ Python-ideas mailing list Pythonemail@example.com https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/