diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-01-10 02:18:07 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-01-10 02:18:07 +0100 |
commit | 20e88fda50832c8a3412586da58f19df2325fef7 (patch) | |
tree | 8d56b328aec4a543ae2fc35bf7b2712a24f24e6b /slixmpp/xmlstream/xmlstream.py | |
parent | f252be9b6d617ad02f7c9420e62ba6948374c0d1 (diff) | |
download | slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.gz slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.bz2 slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.tar.xz slixmpp-20e88fda50832c8a3412586da58f19df2325fef7.zip |
Fix typos, thanks `codespell`!
Diffstat (limited to 'slixmpp/xmlstream/xmlstream.py')
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 4 |
1 files changed, 2 insertions, 2 deletions
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. |