On 10/28/2016 01:28 PM, Todd wrote:

The idea would be to allow this syntax:

x = a if b

Which would be equivalent to:

x = a if b else x


What if x has not been defined yet?


--
Bernardo Sulzbach
http://www.mafagafogigante.org/
[email protected]
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to