Commit bf3b6c35 authored by Fred Drake's avatar Fred Drake

In the example, make sure all the imports are done.

parent 9fc0399d
...@@ -131,13 +131,12 @@ called directly, so they are not documented here. For details, ...@@ -131,13 +131,12 @@ called directly, so they are not documented here. For details,
consult the module code. consult the module code.
\subsection{SMTP Example} \subsection{SMTP Example \label{SMTP-example}}
\label{SMTP-example}
% really need a little description here... % really need a little description here...
\begin{verbatim} \begin{verbatim}
import sys, rfc822 import rfc822, string, sys
def prompt(prompt): def prompt(prompt):
sys.stdout.write(prompt + ": ") sys.stdout.write(prompt + ": ")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment