From fc4c29184d12f086ea64721c2de6aa003383442b Mon Sep 17 00:00:00 2001 From: kaliko Date: Wed, 6 May 2020 11:11:47 +0200 Subject: [PATCH] Purge MUCBot docstring in init --- sid/sid.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sid/sid.py b/sid/sid.py index fadb79e..f475bd4 100644 --- a/sid/sid.py +++ b/sid/sid.py @@ -62,6 +62,9 @@ class MUCBot(slixmpp.ClientXMPP): log_level=logging.INFO): super(MUCBot, self).__init__(jid, password) + # Clean sphinx autodoc for self documentation + # (cf. MUCBot.help) + self.__doc__ = None self.log = logging.getLogger(__package__) self.plugins = list() self.commands = dict() -- 2.39.5