R. David Murray added the comment:
Duplicate of issue 11231.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> bytes() constructor is not correctly documented
___
Python tracker
<
Éric Araujo added the comment:
I think you could just go ahead and commit your patch. I don’t remember if the
reST docs were changed recently-ish or if it’s still an open bug, so you may
want to check that the new docstrings matches the doc.
--
nosy: +eric.araujo
versions: +Python 2.
New submission from Terry J. Reedy :
The entry for bytearray(source...) says
"
The optional source parameter can be used to initialize the array in a few
different ways:
...
If it is an integer, the array will have that size and will be initialized with
null bytes.
...
Without an argument, an