functools
functools — Higher-order functions and operations on callable objects
New in version 2.5.
Source code: Lib/functools.py
The functools
module is for higher-order functions: functions that act on or return other functions. In general, any callable object can be treated as a function for the purposes of this module.
The functools
module defines