Message201026
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. |
|
Date |
User |
Action |
Args |
2013-10-23 13:59:50 | gdr@garethrees.org | set | recipients:
+ gdr@garethrees.org, rhettinger, pitrou, ezio.melotti, docs@python |
2013-10-23 13:59:50 | gdr@garethrees.org | set | messageid: <1382536790.76.0.000627324571274.issue19362@psf.upfronthosting.co.za> |
2013-10-23 13:59:50 | gdr@garethrees.org | link | issue19362 messages |
2013-10-23 13:59:50 | gdr@garethrees.org | create | |
|