[Python-checkins] cpython (3.3): Reflow paragraph.
r.david.murray
python-checkins at python.org
Sat Apr 13 20:43:16 CEST 2013
http://hg.python.org/cpython/rev/15c600674944
changeset: 83308:15c600674944
branch: 3.3
user: R David Murray <rdmurray at bitdance.com>
date: Sat Apr 13 14:40:51 2013 -0400
summary:
Reflow paragraph.
files:
Doc/library/smtplib.rst | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst
--- a/Doc/library/smtplib.rst
+++ b/Doc/library/smtplib.rst
@@ -27,15 +27,14 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list