[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

itertools cycle() docs question

On 8/22/2019 11:35 AM, Dennis Lee Bieber wrote:
> On Wed, 21 Aug 2019 12:52:44 -0700, Tobiah <toby at tobiah.org> declaimed the
> following:
>> I see.  What is an example of an iterable that is not reusable?

Essentially all iterators, which included all generators, which includes 
the return from all generator functions and all generator expressions 
and all iter(iterable) expressions.

Terry Jan Reedy