[issue42948] bytearray.copy is undocumented
Terry J. Reedy
report at bugs.python.org
Sat Jan 23 13:29:41 EST 2021
Terry J. Reedy <tjreedy at udel.edu> added the comment:
Patrick, I am not sure what you are saying. All the methods listed is this section are for both, as with
bytes.count(sub[, start[, end]])
bytearray.count(sub[, start[, end]])¶
but only bytearray has .copy (since there is never a need to copy an immutable). This appears to be only methods like this. PR created.
----------
stage: patch review ->
type: enhancement -> behavior
versions: -Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42948>
_______________________________________
More information about the Python-bugs-list
mailing list