6.4.1.7. genΒΆ

It contains classes and functions of general utility.

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

Functions

caller_name Get a name of a caller in the format module.class.method.
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.