[docs] [issue35190] collections.abc.Sequence cannot be used to test whether a class provides a particular interface (doc issue)

Josh Rosenberg report at bugs.python.org
Thu Feb 14 11:26:25 EST 2019


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

Wait, why should #25737 be closed? This bug is a docs issue; collections.abc shouldn't claim that all the ABCs do duck-typing checks since Sequence doesn't. But #25737 is specific: array.array *should* be registered as a Sequence, but isn't; that requires a code fix (to make array perform the registration), not a doc fix.

----------
nosy: +josh.r

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35190>
_______________________________________


More information about the docs mailing list