]> granicus.if.org Git - python/commitdiff
In the example, make sure all the imports are done.
authorFred Drake <fdrake@acm.org>
Fri, 7 Aug 1998 16:03:32 +0000 (16:03 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 7 Aug 1998 16:03:32 +0000 (16:03 +0000)
Doc/lib/libsmtplib.tex

index 699eb1054df3fe3d4727392bb19fd43596af0d57..21cadcec006e4001dc7a9848eda3cb39e4cf43ab 100644 (file)
@@ -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 + ": ")