ook - Python-version-sensitive monkeypatching

ook is a simple library to assist with monkeypatching Python methods and
functions on a per-Python-version basis. It provides one decorator, patch,
which conditionally patches callables depending on which version of Python is
running.