summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-04-13 18:40:51 (GMT)
committerR David Murray <rdmurray@bitdance.com>2013-04-13 18:40:51 (GMT)
commit0bfd6acf03640f8910b8f9fa10cc7775a7c55449 (patch)
tree6e2d3618ce57535fd3490d967ec874df42b8411d
parent14ee3cf244aad69d138159cf70715eedb95ce00f (diff)
downloadcpython-0bfd6acf03640f8910b8f9fa10cc7775a7c55449.zip
cpython-0bfd6acf03640f8910b8f9fa10cc7775a7c55449.tar.gz
cpython-0bfd6acf03640f8910b8f9fa10cc7775a7c55449.tar.bz2
Reflow paragraph.
-rw-r--r--Doc/library/smtplib.rst17
1 files changed, 8 insertions, 9 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
index 38d5f31..9593dea 100644
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -27,15 +27,14 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions).
host and port parameters are given, the SMTP :meth:`connect` method is called
with those parameters during initialization. If the :meth:`connect` call
returns anything other than a success code, an :exc:`SMTPConnectError` is
- raised. The optional
- *timeout* parameter specifies a timeout in seconds for blocking operations
- like the connection attempt (if not specified, the global default timeout
- setting will be used). The optional source_address parameter allows to bind to some
- specific source address in a machine with multiple network interfaces,
- and/or to some specific source TCP port. It takes a 2-tuple (host, port),
- for the socket to bind to as its source address before connecting. If
- omitted (or if host or port are ``''`` and/or 0 respectively) the OS default
- behavior will be used.
+ raised. The optional *timeout* parameter specifies a timeout in seconds for
+ blocking operations like the connection attempt (if not specified, the
+ global default timeout setting will be used). The optional source_address
+ parameter allows to bind to some specific source address in a machine with
+ multiple network interfaces, and/or to some specific source TCP port. It
+ takes a 2-tuple (host, port), for the socket to bind to as its source
+ address before connecting. If omitted (or if host or port are ``''`` and/or
+ 0 respectively) the OS default behavior will be used.
For normal use, you should only require the initialization/connect,
:meth:`sendmail`, and :meth:`~smtplib.quit` methods.