Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a56117 + 6ceca4e commit fa66e01Copy full SHA for fa66e01
1 file changed
Doc/library/smtplib.rst
@@ -32,7 +32,8 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
32
than a success code, an :exc:`SMTPConnectError` is raised. The optional
33
*timeout* parameter specifies a timeout in seconds for blocking operations
34
like the connection attempt (if not specified, the global default timeout
35
- setting will be used). The optional source_address parameter allows to bind
+ setting will be used). If the timeout expires, :exc:`socket.timeout` is
36
+ raised. The optional source_address parameter allows to bind
37
to some specific source address in a machine with multiple network
38
interfaces, and/or to some specific source TCP port. It takes a 2-tuple
39
(host, port), for the socket to bind to as its source address before
0 commit comments