[issue12014] str.format parses replacement field incorrectly

Ben Wolfson report at bugs.python.org
Thu Jul 7 00:50:10 CEST 2011


Ben Wolfson <wolfson at gmail.com> added the comment:

This patch differs from the previous one; its goal is to bring the actual behavior of the interpreter into line with the documentation (with the exception of using only decimal integers, rather than any integers, wherever the documentation for str.format currently has "integer": this does, however, conform with current behavior).

----------
Added file: http://bugs.python.org/file22598/strformat-as-documented.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12014>
_______________________________________


More information about the Python-bugs-list mailing list