Python @classwraps decorator