Patch A Class Python Examples Code