INADA Naoki added the comment:

I think PySequence_Check() has same problem.

OTOH, mapping definition says:

> A container object that supports arbitrary key lookups and implements the 
> methods specified in the Mapping or MutableMapping abstract base classes.
- http://docs.python.org/3.3/glossary.html#term-mapping

So the mapping should implement all methods defined in collections.abc.Mapping.

If the sequence should implement all methods defined in 
collections.abc.Sequence, it's a documentation bug.

Is there a common view about what is the sequence?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16728>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to