Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I think that "types that are :term:`iterable` or implement the 
:meth:`__contains__` method" is too low-level for this section.

In this section we tell about builtin types. From those the types that support 
`in` and `not in` are list, tuple, dict, set, frozenset, str, bytes, bytearray, 
memoryview, and iterator types. We can just enumerate them or use general word. 
Calling the "sequence types" is not correct, but fortunately all of them are 
iterable, so that we can say just "iterable types described below". Or 
enumerate categories of types, as they are named in the below subsections: 
"iterator types, sequence types, str, binary sequence types, set types and 
dict", with links to corresponding subsections.

----------
nosy: +serhiy.storchaka

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

Reply via email to