gfw.common.iterables.chunked_it#

chunked_it(iterable, n)[source]#

Splits an iterable into iterator chunks of length n. The last chunk may be shorter.

Return type:

Iterator[chain[Any]]