From f7ffa92ce3fdfa754e55dec61c3ab5ee0ec31982 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 6 May 1998 12:42:37 +0000 Subject: [PATCH] Fix typo in example found by Anthony Starks , reported to me by Piers Lauder . --- Doc/lib/libimaplib.tex | 2 +- Doc/libimaplib.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libimaplib.tex b/Doc/lib/libimaplib.tex index 4a6f94f449a..fa3ec68dacf 100644 --- a/Doc/lib/libimaplib.tex +++ b/Doc/lib/libimaplib.tex @@ -222,7 +222,7 @@ M.LOGIN(getpass.getuser(), getpass.getpass()) M.SELECT() typ, data = M.SEARCH(None, 'ALL') for num in string.split(data[0]): - typ, data - M.FETCH(num, '(RFC822)') + typ, data = M.FETCH(num, '(RFC822)') print 'Message %s\n%s\n' % (num, data[0][1]) M.LOGOUT() \end{verbatim} diff --git a/Doc/libimaplib.tex b/Doc/libimaplib.tex index 4a6f94f449a..fa3ec68dacf 100644 --- a/Doc/libimaplib.tex +++ b/Doc/libimaplib.tex @@ -222,7 +222,7 @@ M.LOGIN(getpass.getuser(), getpass.getpass()) M.SELECT() typ, data = M.SEARCH(None, 'ALL') for num in string.split(data[0]): - typ, data - M.FETCH(num, '(RFC822)') + typ, data = M.FETCH(num, '(RFC822)') print 'Message %s\n%s\n' % (num, data[0][1]) M.LOGOUT() \end{verbatim}