contextlib2 is a backport of the Python standard library's contextlib module to earlier Python versions.