<p>我不确定python文档:</p>
<p><a href="http://docs.python.org/py3k/library/functions.html#format" rel="nofollow"><strong>format(value[, format_spec])</strong></a></p>
<pre><code>A call to format(value, format_spec) is translated to
type(value).__format__(format_spec) which bypasses the
instance dictionary when searching for the value’s
__format__() method.
</code></pre>
<p>是打字错误吗?我认为应该翻译成:</p>
<pre><code>type(value).__format__(value, format_spec)
</code></pre>