On Wed, Aug 4, 2010 at 5:57 PM, Nick Coghlan <[email protected]> wrote:
> and use a default message of
> "'Key not found: %r' % key" if the key argument is supplied without an
> explicit message
I suspect you meant a default message of
'Key not found: %r' % (key,)
since `key` might be a 1-tuple. :-)
-Fred
--
Fred L. Drake, Jr. <fdrake at gmail.com>
"A storm broke loose in my mind." --Albert Einstein
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com