[issue4669] bytes,join and bytearray.join not in manual; help for bytes.join is wrong.

Terry J. Reedy report at bugs.python.org
Sat Dec 20 04:06:27 CET 2008


Terry J. Reedy <tjreedy at udel.edu> added the comment:

I am puzzled as to what you think is missing in the manual.

"Bytes and Byte Array Methods
Bytes and bytearray objects, being “strings of bytes”, have all methods
found on strings, with the exception of encode(), format() and
isidentifier(), which do not make sense with these types. ...
Note
The methods on bytes and bytearray objects don’t accept strings as their
arguments, just as the methods on strings don’t accept bytes as their
arguments. For example, 
"
I believe you are right that bytes => bytes/bytearray in the second help
entry.

----------
nosy: +tjreedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4669>
_______________________________________


More information about the Python-bugs-list mailing list