Signature of bytearray.__delitem__ is overloaded to support both
int and slice as parameters. Use a union instead.
This is needed to change bytearray's superclass from Sequence[int]
to MutableSequence[int], because the current signature of
__delitem__ is incompatible with that of MutableSequence.