Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7c9ac6

Browse files
committed
There is no IMAP class in the imaplib module; the class is IMAP4.
There is no imap module; refer to imaplib instead, since it exists. Move the "See Also:" section in front of the sub-sections, for consistency with other portions of the library reference. This closes the library reference portion of SF bug #420216.
1 parent 1ef24e1 commit a7c9ac6

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

Doc/lib/libpoplib.tex

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ \section{\module{poplib} ---
2020
Note that POP3, though widely supported, is obsolescent. The
2121
implementation quality of POP3 servers varies widely, and too many are
2222
quite poor. If your mailserver supports IMAP, you would be better off
23-
using the \refmodule{IMAP} class, as IMAP servers tend to be better
24-
implemented.
23+
using the \code{\refmodule{imaplib}.\class{IMAP4}} class, as IMAP
24+
servers tend to be better implemented.
2525

2626
A single class is provided by the \module{poplib} module:
2727

@@ -38,6 +38,14 @@ \section{\module{poplib} ---
3838
passed to the constructor as a string.
3939
\end{excdesc}
4040

41+
\begin{seealso}
42+
\seemodule{imaplib}{The standard Python IMAP module.}
43+
\seetitle{http://www.tuxedo.org/~esr/fetchail/fetchmail-FAQ.html}{
44+
The FAQ for the fetchmail POP/IMAP client collects information
45+
on POP3 server variations and RFC noncompliance that may be
46+
useful if you need to write an application based on poplib.}
47+
\end{seealso}
48+
4149

4250
\subsection{POP3 Objects \label{pop3-objects}}
4351

@@ -125,13 +133,6 @@ \subsection{POP3 Objects \label{pop3-objects}}
125133
\var{octets})}.
126134
\end{methoddesc}
127135

128-
\begin{seealso}
129-
\seemodule{imap}{The standard Python IMAP module.}
130-
\seetitle{http://www.tuxedo.org/~esr/fetchail/fetchmail-FAQ.html}{
131-
The FAQ for the fetchmail POP/IMAP client collects information
132-
on POP3 server variations and RFC noncompliance that may be
133-
useful if you need to write an application based on poplib.}
134-
\end{seealso}
135136

136137
\subsection{POP3 Example \label{pop3-example}}
137138

0 commit comments

Comments
 (0)