def patch(obj, attribute, value):
    patcher = MonkeyPatcher((obj, attribute, value))
    patcher.patch()
    return patcher.restore
Add character set properties to the global registry.
dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/testtools/monkey.py/patch--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/email/charset.py/add_charset