Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Container is correct. Containers are defined as being anything that supports the "in" and "not in" operators. That includes sequences (str, list, tuple, bytes, bytearray), mappings (dict, ChainMap, defaultdict), and sets (frozenset and set). It doesn't matter that the word container comes up later. At this point in the tutorial we tend to have a number of forward or references. Our tutorial is more a guided walkthrough with examples rather than a series of sequential definitions. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46270> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com