Clarified that octal % formatting in 2.6 does not change.

This commit is contained in:
Eric Smith 2008-03-24 11:02:44 +00:00
parent d6e227344e
commit b55641aab1
1 changed files with 4 additions and 3 deletions

View File

@ -129,9 +129,10 @@ Output formatting
-----------------
The string (and unicode in 2.6) % operator will have
'b' format specifier added for binary, and the alternate
syntax of the 'o' option will need to be updated to
add '0o' in front, instead of '0'.
'b' format specifier added for binary in both 2.6 and 3.0.
In 3.0, the alternate syntax of the 'o' option will need to
be updated to add '0o' in front, instead of '0'. In 2.6,
alternate octal formatting will continue to add only '0'.
PEP 3101 already supports 'b' for binary output.