summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-04-24 23:35:33 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2019-04-24 23:35:33 +0100
commit1ee0f72eada2fd7abf865805b14b868993ed5beb (patch)
treec42aaf08432668c645344131b7e13a42525631be
parent4bb81228ae806f3010c50890b6343514094d3da5 (diff)
downloadslixmpp-1ee0f72eada2fd7abf865805b14b868993ed5beb.tar.gz
slixmpp-1ee0f72eada2fd7abf865805b14b868993ed5beb.tar.bz2
slixmpp-1ee0f72eada2fd7abf865805b14b868993ed5beb.tar.xz
slixmpp-1ee0f72eada2fd7abf865805b14b868993ed5beb.zip
xmlstream.disconnect: fix frenchism in docstring
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--slixmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index ba58b8bd..98b0744c 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -468,7 +468,7 @@ class XMLStream(asyncio.BaseProtocol):
def disconnect(self, wait: float = 2.0, reason: Optional[str] = None) -> None:
"""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
+ passed without a response from the server, or when the server
successfully responds with a closure of its own stream, abort() is
called. If wait is 0.0, this will call abort() directly without closing
the stream.