[issue1865] Document bytes alias for 2.7

Terry J. Reedy <tjreedy@udel.edu> added the comment: Changing title to match current issue status. DOC PATCH Grammar section: As near as I can tell, the alternatives for stringprefix ::= "r" | "u" | "ur" | "R" | "U" | "UR" | "Ur" | "uR" should simply be augmented with | "b" | "B" | "br" | "Br" | "bR" | "BR" (on a separate line, indented as indicated). Text section: At the end of the second paragraph, *replace* "The two prefix characters may be combined; in this case, 'u' must appear before 'r'." with "A prefix of 'b' or 'B' is ignored in Python2; it indicates that the literal should become a bytes object in Python 3. A 'u' or 'b' prefix may be followed (but not preceded) by an 'r' prefix." ---------- components: -Interpreter Core resolution: fixed -> title: Bytes alias for 2.6 -> Document bytes alias for 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue1865> _______________________________________
participants (1)
-
Terry J. Reedy