[docs] [issue22575] bytearray documentation confuses string for unicode objects
Terry J. Reedy
report at bugs.python.org
Fri Oct 10 19:06:42 CEST 2014
Terry J. Reedy added the comment:
I changed the line to
* If it is unicode, you must also give the encoding (and optionally, errors) parameters; bytearray() then converts the unicode to bytes using unicode.encode().
Thank you for the report, and for your work answering questions on SO
----------
assignee: docs at python -> terry.reedy
nosy: +terry.reedy
resolution: -> fixed
stage: -> resolved
status: open -> closed
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22575>
_______________________________________
More information about the docs
mailing list