<div dir="ltr"><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Indeed, that note was written before we decided that getting rid of<br>
&quot;%&quot; formatting altogether would be a bad idea.<br>
<br>
It would be better to update it to say something like:<br>
<br>
&quot;The formatting operations described here are modelled on C&#39;s printf()<br>
syntax. They only support formatting of certain builtin types, and the<br>
use of a binary operator means that care may be needed in order to<br>
format tuples and dictionaries correctly. As the new string formatting<br>
syntax is more powerful, flexible, extensible and handles tuples and<br>
dictionaries naturally, it is recommended for new code. However, there<br>
are no current plans to deprecate printf-style formatting.&quot;<br></blockquote></div><br>+1 on rephrasing that doc section, but I wouldn&#39;t mention deprecation at all. It&#39;s alright to keep calling % formatting &quot;old style&quot; and encouraging .format instead, of course.<br>

<br>Eli<br><br><br><br></div>

AltStyle によって変換されたページ (->オリジナル) /