summaryrefslogtreecommitdiffstats
path: root/Doc/library/http.client.rst
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-15 02:19:14 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-12-15 02:19:14 (GMT)
commitd89bc3ff59a30f8a0bbaf4bc21c62c817557d82b (patch)
treeeda57ee1d97d6a06da8f7656e0a531bb98888881 /Doc/library/http.client.rst
parentce4b170c5a6ab03af66331871f827fb021cebe18 (diff)
downloadcpython-d89bc3ff59a30f8a0bbaf4bc21c62c817557d82b.zip
cpython-d89bc3ff59a30f8a0bbaf4bc21c62c817557d82b.tar.gz
cpython-d89bc3ff59a30f8a0bbaf4bc21c62c817557d82b.tar.bz2
#10705: document what the values of debuglevel are and mean.
Diffstat (limited to 'Doc/library/http.client.rst')
-rw-r--r--Doc/library/http.client.rst6
1 files 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