Patch A Class Python Definition Function Math Example