summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/handler
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-08-27 18:16:09 -0400
committerLance Stout <lancestout@gmail.com>2010-08-27 18:16:09 -0400
commitf5ae27da4f542670560a4ecc0373d7001366b496 (patch)
treee66f7e2b0641ab62bd0d9aaac70c80b93c4ae9e6 /sleekxmpp/xmlstream/handler
parent89fb15e8962640a34e24418216e156188032bfa8 (diff)
downloadslixmpp-f5ae27da4f542670560a4ecc0373d7001366b496.tar.gz
slixmpp-f5ae27da4f542670560a4ecc0373d7001366b496.tar.bz2
slixmpp-f5ae27da4f542670560a4ecc0373d7001366b496.tar.xz
slixmpp-f5ae27da4f542670560a4ecc0373d7001366b496.zip
Fix some documentation typos.
Diffstat (limited to 'sleekxmpp/xmlstream/handler')
-rw-r--r--sleekxmpp/xmlstream/handler/callback.py2
-rw-r--r--sleekxmpp/xmlstream/handler/waiter.py8
2 files changed, 9 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/handler/callback.py b/sleekxmpp/xmlstream/handler/callback.py
index 04a4eeda..f0a72853 100644
--- a/sleekxmpp/xmlstream/handler/callback.py
+++ b/sleekxmpp/xmlstream/handler/callback.py
@@ -38,7 +38,7 @@ class Callback(BaseHandler):
name -- The name of the handler.
matcher -- A matcher object for matching stanza objects.
pointer -- The function to execute during callback.
- threaded -- DEPRECATED. Remains only for backwards compatibility.
+ thread -- DEPRECATED. Remains only for backwards compatibility.
once -- Indicates if the handler should be used only
once. Defaults to False.
instream -- Indicates if the callback should be executed
diff --git a/sleekxmpp/xmlstream/handler/waiter.py b/sleekxmpp/xmlstream/handler/waiter.py
index 0e5206b2..12827d3b 100644
--- a/sleekxmpp/xmlstream/handler/waiter.py
+++ b/sleekxmpp/xmlstream/handler/waiter.py
@@ -33,6 +33,14 @@ class Waiter(BaseHandler):
"""
def __init__(self, name, matcher, stream=None):
+ """
+ Create a new Waiter.
+
+ Arguments:
+ name -- The name of the waiter.
+ matcher -- A matcher object to detect the desired stanza.
+ stream -- Optional XMLStream instance to monitor.
+ """
BaseHandler.__init__(self, name, matcher)
self._payload = queue.Queue()