def wrappedHelpText(wrappedFunc):

    def decorator(f):
        f.__doc__ = ('This method wraps the following method:\n\n' + pydoc.
            text.document(wrappedFunc))
return f
return decorator

@wrappedHelpText(worker_function)
def wrapper_function(**args):
    worker_function(**args)
How to override default help message on python function