From 4b145958fae50c5e2a13a59238364a479c54bd9e Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 4 Jan 2011 18:38:21 -0500 Subject: [PATCH] Clarify docs for disco.get_info. --- sleekxmpp/plugins/xep_0030/disco.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sleekxmpp/plugins/xep_0030/disco.py b/sleekxmpp/plugins/xep_0030/disco.py index 2e993e2..b47cd4b 100644 --- a/sleekxmpp/plugins/xep_0030/disco.py +++ b/sleekxmpp/plugins/xep_0030/disco.py @@ -240,7 +240,8 @@ class xep_0030(base_plugin): ifrom -- Specifiy the sender's JID. block -- If true, block and wait for the stanzas' reply. timeout -- The time in seconds to block while waiting for - a reply. If None, then wait indefinitely. + a reply. If None, then wait indefinitely. The + timeout value is only used when block=True. callback -- Optional callback to execute when a reply is received instead of blocking and waiting for the reply.