simple question about dictionaries

Jeff jeffober at gmail.com
Tue Jul 22 14:44:56 CEST 2008


On Jul 21, 8:14 am, Fredrik Lundh <fred... at pythonware.com> wrote:
> Jeff wrote:
> >   throw KeyError('%s not found' % str(val))
>
> "throw"?  and shouldn't that be a ValueError? ;-)
>
> </F>

Whoops.  Been working in too many different languages at the same
time :).



More information about the Python-list mailing list