The functools module provides tools for adapting or extending functions and other callable objects, without completely rewriting them. Read more… This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.