summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libimaplib.tex2
-rw-r--r--Doc/libimaplib.tex2
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}