-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
stubs: false negativeType checkers do not report an error, but shouldType checkers do not report an error, but should
Description
array.array
inheriting from MutableSequence
has some unintended consequences, such as below
import array
x = array.array("B")
x.clear()
At runtime array.array
does not have .clear()
. Is it meant to have a .clear()
implemented? Right now at least it doesn't and the stubs give an incorrect definition.
Metadata
Metadata
Assignees
Labels
stubs: false negativeType checkers do not report an error, but shouldType checkers do not report an error, but should