Return a new method object, with func being any callable object; this is the
function that will be called when the method is called. If this method should
be bound to an instance, self should be the instance and class should be the
class of self, otherwise self should be NULL and class should be the
class which provides the unbound method..