summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-12-05 22:37:21 (GMT)
committerFred Drake <fdrake@acm.org>2001-12-05 22:37:21 (GMT)
commita16433b14edc4d4c08c97262609a3e8821ff1f6e (patch)
tree943d75b5f167216b72f6db6f7a506cec4482b7d5 /Doc
parent3127c28b3fa0239900b5c56f42139f1b60dac631 (diff)
downloadcpython-a16433b14edc4d4c08c97262609a3e8821ff1f6e.zip
cpython-a16433b14edc4d4c08c97262609a3e8821ff1f6e.tar.gz
cpython-a16433b14edc4d4c08c97262609a3e8821ff1f6e.tar.bz2
Re-enabled debugging prints in poplib & documented the set_debuglevel()
method. This closes SF patch #486079.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libpoplib.tex10
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/lib/libpoplib.tex b/Doc/lib/libpoplib.tex
index 7f3af4c..3c18bd1 100644
--- a/Doc/lib/libpoplib.tex
+++ b/Doc/lib/libpoplib.tex
@@ -55,11 +55,19 @@ in lower-case; most return the response text sent by the server.
An \class{POP3} instance has the following methods:
+\begin{methoddesc}{set_debuglevel}{level}
+Set the instance's debugging level. This controls the amount of
+debugging output printed. The default, \code{0}, produces no
+debugging output. A value of \code{1} produces a moderate amount of
+debugging output, generally a single line per request. A value of
+\code{2} or higher produces the maximum amount of debugging output,
+logging each line sent and received on the control connection.
+\end{methoddesc}
+
\begin{methoddesc}{getwelcome}{}
Returns the greeting string sent by the POP3 server.
\end{methoddesc}
-
\begin{methoddesc}{user}{username}
Send user command, response should indicate that a password is required.
\end{methoddesc}