% formatting vs .format() (was: What's wrong with this concatenation statement?)
Tim Chase
python.list at tim.thechases.com
Wed May 11 19:31:36 EDT 2016
On 2016-05-11 12:39, Ned Batchelder wrote:
> The docs have discussed it in a few different ways over the years.
>
> Python 3.0 and 3.1 said:
>
> 3.2 said:
>
> 3.3 and up say:
I've picked up on the "% formatting not going away, .format() more
flexible" vibe but had missed the evolution in the docs to clarify
the intent. Thanks for the succinct summary of how that's changed.
-tkc
More information about the Python-list
mailing list