Patch A Class Python Coding