]> kaliko git repositories - sid.git/commitdiff
Purge MUCBot docstring in init
authorkaliko <kaliko@azylum.org>
Wed, 6 May 2020 09:11:47 +0000 (11:11 +0200)
committerkaliko <kaliko@azylum.org>
Wed, 6 May 2020 09:11:47 +0000 (11:11 +0200)
sid/sid.py

index fadb79e172ec77de117f9b2696f13d437f5fa6ee..f475bd4f9224cdbe9e9739c00c5519cf1491389b 100644 (file)
@@ -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()