From: Fred Drake Date: Fri, 7 Aug 1998 16:03:32 +0000 (+0000) Subject: In the example, make sure all the imports are done. X-Git-Tag: v1.5.2a1~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60c3cafc24a509c2fcab5070ecb955d93be3b8da;p=thirdparty%2FPython%2Fcpython.git In the example, make sure all the imports are done. --- diff --git a/Doc/lib/libsmtplib.tex b/Doc/lib/libsmtplib.tex index 699eb1054df3..21cadcec006e 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 + ": ")