8.1.8.1. Generators

This module implements generators.

Pyterate.Tools.Generators.sublist_accumulator_iterator(iterable)[source]

From a list (1, 2, 3, …) this generator yields (), (1,), (1, 2), (1, 2, 3), …