iter_deepcopy: Performs a deep copy of an iterator

Description Usage Arguments Value

Description

This function is useful when an iterator needs to be copied with a new state environment.

Usage

1
iter_deepcopy(iterator)

Arguments

iterator

an iterator object that inherits from class 'iter'

Value

a new iterator with its own state


itertools2 documentation built on May 2, 2019, 3:37 p.m.