summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libsmtplib.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-08-07 16:03:32 (GMT)
committerFred Drake <fdrake@acm.org>1998-08-07 16:03:32 (GMT)
commit60c3cafc24a509c2fcab5070ecb955d93be3b8da (patch)
treec9fb8eec49cca4bb733b50dead34fd13a4e56ae1 /Doc/lib/libsmtplib.tex
parent3700b6f94e5f5adffc337ab39cf616ac4820f313 (diff)
downloadcpython-60c3cafc24a509c2fcab5070ecb955d93be3b8da.zip
cpython-60c3cafc24a509c2fcab5070ecb955d93be3b8da.tar.gz
cpython-60c3cafc24a509c2fcab5070ecb955d93be3b8da.tar.bz2
In the example, make sure all the imports are done.
Diffstat (limited to 'Doc/lib/libsmtplib.tex')
-rw-r--r--Doc/lib/libsmtplib.tex5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex
index 699eb10..21cadce 100644
--- a/Doc/lib/libsmtplib.tex
+++ b/Doc/lib/libsmtplib.tex
@@ -131,13 +131,12 @@ called directly, so they are not documented here. For details,
consult the module code.
-\subsection{SMTP Example}
-\label{SMTP-example}
+\subsection{SMTP Example \label{SMTP-example}}
% really need a little description here...
\begin{verbatim}
-import sys, rfc822
+import rfc822, string, sys
def prompt(prompt):
sys.stdout.write(prompt + ": ")