[Chicago] newbie says HI; needs help

Ted Pollari tcp at uchicago.edu
Fri Jan 20 18:25:56 CET 2006


On Jan 20, 2006, at 11:21 AM, Brian Ray wrote:


>> In Python 2.5 you'll be able to do:
>>
>>    1 if texture in ['flakey', 'caked'] else 2
>
> What do you call this?

syntactic sugar ? =)



-- 
Ted Pollari
Research Programmer
Department of Health Studies
The University of Chicago
tcp at uchicago.edu
773.834.0559


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/chicago/attachments/20060120/7ab86c5a/attachment.htm 


More information about the Chicago mailing list