a dict trick

james_027 cai.haibin at gmail.com
Thu Aug 2 10:27:02 CEST 2007


Hi,

what if we're not dealing with dict? is there a pythonic way of doing
ternary? the bool ? x:y

Thanks
james




More information about the Python-list mailing list