finesse.utilities.misc.pairwise¶
- finesse.utilities.misc.pairwise(iterable)[source]¶
Iterates through each pair in a iterable.
- Parameters
- iterable
collections.abc.Iterable
An iterable object.
- iterable
- Returns
- zip
A zip object whose .next() method returns a tuple where the i-th element comes from the i-th iterable argument.