From d89bc3ff59a30f8a0bbaf4bc21c62c817557d82b Mon Sep 17 00:00:00 2001 From: "R. David Murray" Date: Wed, 15 Dec 2010 02:19:14 +0000 Subject: #10705: document what the values of debuglevel are and mean. --- Doc/library/http.client.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index 714ebf3..761be86 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -405,8 +405,10 @@ HTTPConnection Objects .. method:: HTTPConnection.set_debuglevel(level) - Set the debugging level (the amount of debugging output printed). The default - debug level is ``0``, meaning no debugging output is printed. + Set the debugging level. The default debug level is ``0``, meaning no + debugging output is printed. Any value greater than ``0`` will cause all + currently defined debug output to be printed to stdout. The ``debuglevel`` + is passed to any new :class:`HTTPResponse` objects that are created. .. versionadded:: 3.1 -- cgit v0.12