osdir.com


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

itertools cycle() docs question


On Wed, Aug 21, 2019 at 12:36 PM Calvin Spealman <cspealma at redhat.com>
wrote:
>
> The point is to demonstrate the effect, not the specific implementation.

But still yes, that's pretty much exactly what it does. The main difference
between the "roughly equivalent to" code and the actual implementation is
that the former is in Python while the latter is in C.