Itertools

Module: pyot.utils.itertools

class FrozenGenerator

Generator that isolates the original list by returning copies of objects when iterated. Used for preventing memory leaks of self-filled objects at the cost of performance.

Extends:

  • Generic

Definitions:

  • __init__ -> None

    • li: List[~T]

  • __iter__ -> Iterator[~T]

alias frozen_generator ~ FrozenGenerator

Last updated