diff options
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r-- | Doc/library/http.client.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst index f8aedcc..cbe4f05 100644 --- a/Doc/library/http.client.rst +++ b/Doc/library/http.client.rst @@ -381,8 +381,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 |