Gareth Rees added the comment: I considered suggesting "container", but the problem is that "container" is used elsewhere to mean "object supporting the 'in' operator" (in particular, collections.abc.Container has a __contains__ method but no __len__ method).
The abstract base class for "object with a length" is collections.abc.Sized, but I don't think using the term "sized" would be clear to users. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19362> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com