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

Piotr Duda duda.piotr at gmail.com
Wed Sep 30 22:58:33 CEST 2015


What about something like:
z = x if is not None else []


-- 
闇に隠れた黒い力
弱い心を操る
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150930/236ee372/attachment.html>


More information about the Python-ideas mailing list