New submission from Ken Basye :
>From http://docs.python.org/library/stdtypes.html#string-formatting-operations
>:
"When the right argument is a dictionary (or other mapping type), then the
formats in the string must include a parenthesised mapping key into that
dictiona
Ken Basye added the comment:
If someone's going to fix this, perhaps they might consider also adding the
following clarification sentence after 'The mapping key selects the value to be
formatted from the mapping.'
The mapping key is interpreted as a string; a key error i
Ken Basye added the comment:
I think Eric is correct; it's a dupe. And I was wrong about not otherwise
being able to format an empty dictionary - "%s" % (d,) will always work and is
arguably the right thing to do anyway.
--
type: behavior ->
versions: -Pyth