diff options
author | Fred Drake <fdrake@acm.org> | 1998-05-06 12:42:37 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-05-06 12:42:37 (GMT) |
commit | f7ffa92ce3fdfa754e55dec61c3ab5ee0ec31982 (patch) | |
tree | bcc2ac77dd01adba6a17aeb14e31889a535dcf5b | |
parent | 91aaa92c888c8f1c026241d2306a01b6f2ecd1c5 (diff) | |
download | cpython-f7ffa92ce3fdfa754e55dec61c3ab5ee0ec31982.zip cpython-f7ffa92ce3fdfa754e55dec61c3ab5ee0ec31982.tar.gz cpython-f7ffa92ce3fdfa754e55dec61c3ab5ee0ec31982.tar.bz2 |
Fix typo in example found by Anthony Starks <anthony_starks@merck.com>,
reported to me by Piers Lauder <piers@cs.su.oz.au>.
-rw-r--r-- | Doc/lib/libimaplib.tex | 2 | ||||
-rw-r--r-- | Doc/libimaplib.tex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libimaplib.tex b/Doc/lib/libimaplib.tex index 4a6f94f..fa3ec68 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 4a6f94f..fa3ec68 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} |