utils Module

This module contains some useful functions.

The functions work on the standart library or are not specific to a certain existing module.

knittingpattern.utils.unique(iterables)[source]

Create an iterable from the iterables that contains each element once.

Returns:an iterable over the iterables. Each element of the result appeared only once in the result. They are oredered by the first occurrence in the iterables.