From 20e88fda50832c8a3412586da58f19df2325fef7 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 10 Jan 2018 02:18:07 +0100 Subject: Fix typos, thanks `codespell`! --- slixmpp/xmlstream/xmlstream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp/xmlstream/xmlstream.py') diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index f7c0dea0..2ab9a352 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -436,7 +436,7 @@ class XMLStream(asyncio.BaseProtocol): def cancel_connection_attempt(self): """ - Immediatly cancel the current create_connection() Future. + Immediately cancel the current create_connection() Future. This is useful when a client using slixmpp tries to connect on flaky networks, where sometimes a connection just gets lost and it needs to reconnect while the attempt is still ongoing. @@ -449,7 +449,7 @@ class XMLStream(asyncio.BaseProtocol): """Close the XML stream and wait for an acknowldgement from the server for at most `wait` seconds. After the given number of seconds has passed without a response from the serveur, or when the server - successfuly responds with a closure of its own stream, abort() is + successfully responds with a closure of its own stream, abort() is called. If wait is 0.0, this is almost equivalent to calling abort() directly. -- cgit v1.2.3