[docs] [issue13744] raw byte strings are described in a confusing way

Joseph Chadwick report at bugs.python.org
Thu Mar 29 15:43:12 CEST 2012

Joseph Chadwick <josephholyheart at gmail.com> added the comment:

The attached replaces the text for the documentation in 2.4.1 between the lexical definitions table and the escape sequence table. The only change is the following addition to the paragraph on string and byte literals prefixed by 'r' or 'R':

When a byte literal is prefixed with both 'r' or 'R' and 'b' or 'B', the b must precede the r, as in: 'Br', 'bR', or 'BR' and not 'Rb', 'rB', or 'RB'.

nosy: +j.chadwick
type:  -> enhancement
Added file: http://bugs.python.org/file25064/stringByteLiteralBR.docx

Python tracker <report at bugs.python.org>

More information about the docs mailing list