On Wed, Jun 6, 2018 at 4:18 PM, Chris Barker via Python-ideas <python-ideas@python.org> wrote: > > Also -- seems kind of odd to raise a KeyError when the key IS there?!?
class DuplicateKeyError(LookupError): pass Problem solved :) ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/