#3156: fix consistency in what type bytearray methods accept as items.
Also rename confusing "item" parameters to "index".
3 files changed