Terry J. Reedy <tjre...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue42948> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com