This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients christian.heimes, docs@python, flox, georg.brandl, terry.reedy
Date 2010-09-20.19:21:00
SpamBayes Score 1.8168e-06
Marked as misclassified No
Message-id <1285010463.26.0.528472167012.issue1865@psf.upfronthosting.co.za>
In-reply-to
Content
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."
History
Date User Action Args
2010-09-20 19:21:03terry.reedysetrecipients: + terry.reedy, georg.brandl, christian.heimes, flox, docs@python
2010-09-20 19:21:03terry.reedysetmessageid: <1285010463.26.0.528472167012.issue1865@psf.upfronthosting.co.za>
2010-09-20 19:21:01terry.reedylinkissue1865 messages
2010-09-20 19:21:00terry.reedycreate