mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
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.