[Python-ideas] An ABC representing "Iterable, Sized, Container"
tomuxiong at gmail.com
Thu Jul 21 20:05:25 EDT 2016
On 07/21/2016 07:58 PM, Guido van Rossum wrote:
> But there's already Container which means "supports __contains__".
> Collection might cause confusing with the module name collections.
> Otherwise either would be a good candidate...
Coming out of lurking...
StaticIterable? ConstIterable? Something to indicate that if you just
iterate over it you keep getting the same thing?
Personally I think Reiterable is about as clear as it ever will be...
More information about the Python-ideas