Python Patch A Method For Obtaining