a dict trick

james_027 cai.haibin at gmail.com
Thu Aug 2 04:27:02 EDT 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