Write partial.py decorator skeleton