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 stutzbach
Recipients Dmitry.Jemerov, JingCheng.LIU, docs@python, ezio.melotti, orsenthil, pitrou, stutzbach
Date 2010-09-01.11:56:46
SpamBayes Score 0.0010934551
Marked as misclassified No
Message-id <1283342209.16.0.00907370316584.issue9730@psf.upfronthosting.co.za>
In-reply-to
Content
The example can be fixed by placing a "b" before the two string literals.

However, pretty much the whole document refers to "strings" and should refer to "byte sequences" or the "bytes" type.

I thought there were automated tests that exercised the documentation examples.  Am I wrong about that?
History
Date User Action Args
2010-09-01 11:56:49stutzbachsetrecipients: + stutzbach, orsenthil, pitrou, ezio.melotti, Dmitry.Jemerov, docs@python, JingCheng.LIU
2010-09-01 11:56:49stutzbachsetmessageid: <1283342209.16.0.00907370316584.issue9730@psf.upfronthosting.co.za>
2010-09-01 11:56:47stutzbachlinkissue9730 messages
2010-09-01 11:56:47stutzbachcreate