On 20/02/2019 18:24, Bruce Leban wrote:
Here's a syntax that solves this using the new operators _:= and ,_
a = [1,2,3]
( _:= a ,_ .append(4) ,_ .sort() )
I'm not sure what problem you are solving here, but if that's the
solution I'd rather have the problem. There is absolutely nothing in
that syntax that suggests what's going on.
--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/