Clarified that octal % formatting in 2.6 does not change.
This commit is contained in:
parent
d6e227344e
commit
b55641aab1
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue