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>