Can't get around "IndexError: list index out of range"

Fredrik Lundh fredrik at
Sat Oct 7 19:37:37 CEST 2006

MonkeeSage wrote:

> True. But valid dictionary keys are exactly d.keys(). The has_key
> method is just sugar.

for what?  are you sure you're using "sugar" as it is usually used when 
talking about computer languages?


More information about the Python-list mailing list