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 :).