method.__func__.whoami = 'my name is method' >>> c.method.whoami 'my name is method' See The standard type hierarchy for more information. u$