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

Skip to content

Commit d89bc3f

Browse files
committed
#10705: document what the values of debuglevel are and mean.
1 parent ce4b170 commit d89bc3f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/library/http.client.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,10 @@ HTTPConnection Objects
405405

406406
.. method:: HTTPConnection.set_debuglevel(level)
407407

408-
Set the debugging level (the amount of debugging output printed). The default
409-
debug level is ``0``, meaning no debugging output is printed.
408+
Set the debugging level. The default debug level is ``0``, meaning no
409+
debugging output is printed. Any value greater than ``0`` will cause all
410+
currently defined debug output to be printed to stdout. The ``debuglevel``
411+
is passed to any new :class:`HTTPResponse` objects that are created.
410412

411413
.. versionadded:: 3.1
412414

0 commit comments

Comments
 (0)