summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-09-14 17:48:41 (GMT)
committerFred Drake <fdrake@acm.org>2001-09-14 17:48:41 (GMT)
commitf2a5f3f721cc13624ee65b97890525c0a358cb9b (patch)
tree0c1f6571e720d4e835831c38bf5f2fb41817674e
parent717ce00c7cd3198118d2de5ae23601828ae1061a (diff)
downloadcpython-f2a5f3f721cc13624ee65b97890525c0a358cb9b.zip
cpython-f2a5f3f721cc13624ee65b97890525c0a358cb9b.tar.gz
cpython-f2a5f3f721cc13624ee65b97890525c0a358cb9b.tar.bz2
Markup adjustments for consistency.
-rw-r--r--Doc/lib/libsmtplib.tex11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex
index 7ab942b..484ef1f 100644
--- a/Doc/lib/libsmtplib.tex
+++ b/Doc/lib/libsmtplib.tex
@@ -178,12 +178,13 @@ or may raise the following exceptions:
\end{description}
\end{methoddesc}
-\begin{methoddesc}{starttls}{\optional{keyfile, certfile}}
-Put the SMTP connection in TLS (Transport Layer Security) mode. All SMTP
-commands that follow will be encrypted. You should then call ehlo() again.
+\begin{methoddesc}{starttls}{\optional{keyfile\optional{, certfile}}}
+Put the SMTP connection in TLS (Transport Layer Security) mode. All
+SMTP commands that follow will be encrypted. You should then call
+\method{ehlo()} again.
-If \var{keyfile} and \var{certfile} are provided, these are passed to the
-socket module's ssl function.
+If \var{keyfile} and \var{certfile} are provided, these are passed to
+the \refmodule{socket} module's \function{ssl()} function.
\end{methoddesc}
\begin{methoddesc}{sendmail}{from_addr, to_addrs, msg\optional{,