[Python-ideas] ('blue', 'red', 'orange' if something, 'green')

Guido van Rossum guido at python.org
Fri Apr 22 21:06:06 CEST 2011


I'm -1 on this. It looks like a syntax error for

  'orange' if some_condition else 'another_color'

-- 
--Guido van Rossum (python.org/~guido)



More information about the Python-ideas mailing list