cpython: 9f1f83d23ec4 (original) (raw)

Mercurial > cpython

changeset 84294:9f1f83d23ec4 2.7

#18179: reflow paragraphs. [#18179]

R David Murray rdmurray@bitdance.com
date Sun, 23 Jun 2013 16:10:37 -0400
parents c8914dbe6ead
children a7db9f505e88
files Doc/library/smtplib.rst Lib/smtplib.py
diffstat 2 files changed, 40 insertions(+), 38 deletions(-)[+] [-] Doc/library/smtplib.rst 46 Lib/smtplib.py 32

line wrap: on

line diff

--- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -24,15 +24,15 @@ Protocol) and :rfc:1869 (SMTP Service A :class:SMTP instance encapsulates an SMTP connection. It has methods that support a full repertoire of SMTP and ESMTP operations. If the optional

@@ -63,14 +62,15 @@ Protocol) and :rfc:1869 (SMTP Service .. class:: LMTP([host[, port[, local_hostname]]]) The LMTP protocol, which is very similar to ESMTP, is heavily based on the

--- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -238,11 +238,11 @@ class SMTP: If specified, host' is the name of the remote host to which to[](#l2.4) connect. If specified, port' specifies the port to which to connect. By default, smtplib.SMTP_PORT is used. If a host is specified the

""" self.timeout = timeout @@ -760,13 +760,15 @@ class SMTP: if _have_ssl: class SMTP_SSL(SMTP):

+ """ default_port = SMTP_SSL_PORT @@ -797,10 +799,10 @@ class LMTP(SMTP): """LMTP - Local Mail Transfer Protocol The LMTP protocol, which is very similar to ESMTP, is heavily based