simple question about dictionaries

Fredrik Lundh fredrik at pythonware.com
Mon Jul 21 08:14:15 EDT 2008


Jeff wrote:

>   throw KeyError('%s not found' % str(val))

"throw"?  and shouldn't that be a ValueError? ;-)

</F>




More information about the Python-list mailing list