summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-24 15:41:40 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-03-24 15:41:40 (GMT)
commitccbb0edf0ed252d9f0af48c4b60424ab814b1402 (patch)
treef3d818b42ac054fc42ecddba955d49bd1b2ee14e
parent6730f26cb06d06e6213fe528709a51a4382901c1 (diff)
downloadcpython-ccbb0edf0ed252d9f0af48c4b60424ab814b1402.zip
cpython-ccbb0edf0ed252d9f0af48c4b60424ab814b1402.tar.gz
cpython-ccbb0edf0ed252d9f0af48c4b60424ab814b1402.tar.bz2
Add local_hostname to SMTP.__init__().
-rw-r--r--Doc/lib/libsmtplib.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex
index 526b4a1..c41057d 100644
--- a/Doc/lib/libsmtplib.tex
+++ b/Doc/lib/libsmtplib.tex
@@ -14,7 +14,8 @@ listener daemon. For details of SMTP and ESMTP operation, consult
\rfc{821} (\citetitle{Simple Mail Transfer Protocol}) and \rfc{1869}
(\citetitle{SMTP Service Extensions}).
-\begin{classdesc}{SMTP}{\optional{host\optional{, port}}}
+\begin{classdesc}{SMTP}{\optional{host\optional{, port\optional{,
+ local_hostname}}}}
A \class{SMTP} instance encapsulates an SMTP connection. It has
methods that support a full repertoire of SMTP and ESMTP
operations. If the optional host and port parameters are given, the