From 95d40a3ca336a4e1b66c7ed287ec3f2ef92b201c Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 10 Dec 2020 19:20:23 +0100 Subject: docs: update docstrings for sphinx conformity Remove most references to timeout/callback/ifrom/timeout_callbacks args --- slixmpp/plugins/xep_0369/mix_core.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'slixmpp/plugins/xep_0369/mix_core.py') diff --git a/slixmpp/plugins/xep_0369/mix_core.py b/slixmpp/plugins/xep_0369/mix_core.py index 598a97f4..19450c12 100644 --- a/slixmpp/plugins/xep_0369/mix_core.py +++ b/slixmpp/plugins/xep_0369/mix_core.py @@ -79,9 +79,10 @@ class XEP_0369(BasePlugin): async def get_channel_info(self, channel: JID) -> InfoType: """" Get the contents of the channel info node. - :param JID channel: The MIX channel + + :param channel: The MIX channel :returns: a dict containing the last modified time and form contents - (Name, Description, Contact per the spec, YMMV) + (Name, Description, Contact per the spec, YMMV) """ info = await self.xmpp['xep_0060'].get_items(channel, 'urn:xmpp:mix:nodes:info') for item in info['pubsub']['items']: -- cgit v1.2.3