Updated doc for connect()

This commit is contained in:
Lance Stout 2011-03-22 11:59:27 -04:00
parent 7ef6abb2a3
commit 86a6b40fd8

View file

@ -143,7 +143,9 @@ class ClientXMPP(BaseXMPP):
Arguments: Arguments:
address -- A tuple containing the server's host and port. address -- A tuple containing the server's host and port.
reattempt -- If True, reattempt the connection if an reattempt -- If True, reattempt the connection if an
error occurs. error occurs. Defaults to True.
use_tls -- Indicates if TLS should be used for the
connection. Defaults to True.
""" """
self.session_started_event.clear() self.session_started_event.clear()
if not address or len(address) < 2: if not address or len(address) < 2: