[Python-ideas] PEP 505 (None coalescing operators) thoughts

John Wong gokoproject at gmail.com
Wed Sep 30 23:15:11 CEST 2015

On Wed, Sep 30, 2015 at 4:58 PM, Piotr Duda <duda.piotr at gmail.com> wrote:

> What about something like:
> z = x if is not None else []
> Pretty hard to read. z x are short, but in many real code that sentence
has more characters and actually better off with today's anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150930/adff87cb/attachment.html>

More information about the Python-ideas mailing list