why in returns values for array and keys for dictionary

++imanshu himanshu.garg at gmail.com
Tue Aug 26 02:49:10 CEST 2008


Hi,

    Wouldn't it be nicer to have 'in' return values (or keys) for both
arrays and dictionaries. Arrays and Dictionaries looked so similar in
Python until I learned this difference.

Thanks,
++imanshu



More information about the Python-list mailing list