[issue1865] Document bytes alias for 2.7

2010-09-25 Thread Georg Brandl

Georg Brandl ge...@python.org added the comment:

Fixed in r85010.

--
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1865
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1865] Document bytes alias for 2.7

2010-09-20 Thread Terry J. Reedy

Terry J. Reedy tjre...@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 rep...@bugs.python.org
http://bugs.python.org/issue1865
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com