Bug report
Bug description:
from array import array
x = array("B")
x.clear() # AttributeError: 'array.array' object has no attribute 'clear'
But array is a MutableSequence, so we expect the clear() method to be implemented.
If this is correct, then I'm ready to work on PR.
Original issue from the typeshed repository: python/typeshed#11008
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Bug report
Bug description:
But
arrayis aMutableSequence, so we expect the clear() method to be implemented.If this is correct, then I'm ready to work on PR.
Original issue from the typeshed repository: python/typeshed#11008
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs