summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/adhoc_provider.py6
-rwxr-xr-xexamples/adhoc_user.py4
-rwxr-xr-xexamples/disco_browser.py4
-rwxr-xr-xexamples/echo_client.py4
-rwxr-xr-xexamples/muc.py4
-rwxr-xr-xexamples/ping.py4
-rwxr-xr-xexamples/proxy_echo_client.py4
-rw-r--r--examples/roster_browser.py4
-rwxr-xr-xexamples/send_client.py4
9 files changed, 19 insertions, 19 deletions
diff --git a/examples/adhoc_provider.py b/examples/adhoc_provider.py
index cfe72755..a72158c3 100755
--- a/examples/adhoc_provider.py
+++ b/examples/adhoc_provider.py
@@ -40,7 +40,7 @@ class CommandBot(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -49,7 +49,7 @@ class CommandBot(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
@@ -71,7 +71,7 @@ class CommandBot(sleekxmpp.ClientXMPP):
def _handle_command(self, iq, session):
"""
- Respond to the intial request for a command.
+ Respond to the initial request for a command.
Arguments:
iq -- The iq stanza containing the command request.
diff --git a/examples/adhoc_user.py b/examples/adhoc_user.py
index c155d4b8..bbd42d81 100755
--- a/examples/adhoc_user.py
+++ b/examples/adhoc_user.py
@@ -43,7 +43,7 @@ class CommandUserBot(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
self.add_event_handler("message", self.message)
@@ -53,7 +53,7 @@ class CommandUserBot(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
diff --git a/examples/disco_browser.py b/examples/disco_browser.py
index 20d012bc..0d282d78 100755
--- a/examples/disco_browser.py
+++ b/examples/disco_browser.py
@@ -60,7 +60,7 @@ class Disco(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -69,7 +69,7 @@ class Disco(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
In this case, we send disco#info and disco#items
diff --git a/examples/echo_client.py b/examples/echo_client.py
index db0064f9..7e553c4a 100755
--- a/examples/echo_client.py
+++ b/examples/echo_client.py
@@ -40,7 +40,7 @@ class EchoBot(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -54,7 +54,7 @@ class EchoBot(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
diff --git a/examples/muc.py b/examples/muc.py
index 7586c61c..8fe2eb49 100755
--- a/examples/muc.py
+++ b/examples/muc.py
@@ -44,7 +44,7 @@ class MUCBot(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -68,7 +68,7 @@ class MUCBot(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
diff --git a/examples/ping.py b/examples/ping.py
index fa396907..ac0409bd 100755
--- a/examples/ping.py
+++ b/examples/ping.py
@@ -43,7 +43,7 @@ class PingTest(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -52,7 +52,7 @@ class PingTest(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
diff --git a/examples/proxy_echo_client.py b/examples/proxy_echo_client.py
index 6655ec59..25bfc891 100755
--- a/examples/proxy_echo_client.py
+++ b/examples/proxy_echo_client.py
@@ -40,7 +40,7 @@ class EchoBot(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -54,7 +54,7 @@ class EchoBot(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
diff --git a/examples/roster_browser.py b/examples/roster_browser.py
index 7e7ec816..b366d00f 100644
--- a/examples/roster_browser.py
+++ b/examples/roster_browser.py
@@ -42,7 +42,7 @@ class RosterBrowser(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster. We need threaded=True so that the
# session_start handler doesn't block event processing
# while we wait for presence stanzas to arrive.
@@ -57,7 +57,7 @@ class RosterBrowser(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
diff --git a/examples/send_client.py b/examples/send_client.py
index adf5fcc6..caf47687 100755
--- a/examples/send_client.py
+++ b/examples/send_client.py
@@ -45,7 +45,7 @@ class SendMsgBot(sleekxmpp.ClientXMPP):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -54,7 +54,7 @@ class SendMsgBot(sleekxmpp.ClientXMPP):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments: