[Chicago] newbie says HI; needs help

Ian Bicking ianb at colorstudy.com
Fri Jan 20 18:29:36 CET 2006


Brian Ray wrote:
> 
> On Jan 20, 2006, at 11:06 AM, Ian Bicking wrote:
> 
>> In Python 2.5 you'll be able to do:
>>
>>
>>    1 if texture in ['flakey', 'caked'] else 2
>>
> 
> What do you call this?

Conditional expressions


-- 
Ian Bicking  /  ianb at colorstudy.com  /  http://blog.ianbicking.org


More information about the Chicago mailing list