7.2.8. genΒΆ

It contains classes and functions of general utility.

These are python-specific utilities and hacks - general data-processing or numerical operations.

Functions

counter Return a object whose .__call__() method returns consecutive values.
pairwise A sequence of overlapping sub-sequences.

Classes

Token It constructs a unique constant that behaves like a string.