diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 05:44:01 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 05:44:01 (GMT) |
commit | c04fb56e36999a4162e6ccfe1f9357100abaee99 (patch) | |
tree | 68f930a7b0956c487f671f6868fc00bac6edafb7 /Doc/library/smtplib.rst | |
parent | 96a4f07107476c0038ff1302b7ef779cab07e8ae (diff) | |
download | cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.zip cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.tar.gz cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.tar.bz2 |
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
Diffstat (limited to 'Doc/library/smtplib.rst')
-rw-r--r-- | Doc/library/smtplib.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index 8cbd20d..2234d51 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -33,7 +33,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions). *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). If the timeout expires, :exc:`socket.timeout` is - raised. The optional source_address parameter allows to bind + raised. The optional source_address parameter allows binding 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 @@ -76,7 +76,7 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions). *port* is zero, the standard SMTP-over-SSL port (465) is used. The optional arguments *local_hostname*, *timeout* and *source_address* have the same meaning as they do in the :class:`SMTP` class. *context*, also optional, - can contain a :class:`~ssl.SSLContext` and allows to configure various + can contain a :class:`~ssl.SSLContext` and allows configuring various aspects of the secure connection. Please read :ref:`ssl-security` for best practices. |