def help(self, request): if hasattr(request, 'i_am_a_casapy_task'): pydoc.pager('Help on ' + pydoc.text.bold(request.__name__) + ' task:\n\n' + request.__doc__) else: return pydoc.Helper.help(self, request)