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 LambertDW
Recipients LambertDW, ajaksu2, dmajnemer, orsenthil
Date 2009-03-04.16:49:50
SpamBayes Score 6.943319e-07
Marked as misclassified No
Message-id <1236185392.83.0.799477744754.issue5416@psf.upfronthosting.co.za>
In-reply-to
Content
I completely agree that this is a documentation issue.

Also, or perhaps for foolish completeness, in

http://docs.python.org/3.0/library/stdtypes.html

we would point out that the following group of string methods also work
for bytes and bytearrays.  Of these, only str type has format method.

"String Methods

String objects support the methods listed below. Note that none of these
methods take keyword arguments.

In addition, Python’s strings support the sequence type methods
described in the Sequence Types — str, bytes, bytearray, list, tuple,
range section. To output formatted strings, see the String Formatting
section. Also, see the re module for string functions based on regular
expressions."
History
Date User Action Args
2009-03-04 16:49:53LambertDWsetrecipients: + LambertDW, orsenthil, ajaksu2, dmajnemer
2009-03-04 16:49:52LambertDWsetmessageid: <1236185392.83.0.799477744754.issue5416@psf.upfronthosting.co.za>
2009-03-04 16:49:51LambertDWlinkissue5416 messages
2009-03-04 16:49:51LambertDWcreate