[Python-checkins] r87256 - python/branches/py3k/Doc/library/http.client.rst
r.david.murray
python-checkins at python.org
Wed Dec 15 03:19:14 CET 2010
Author: r.david.murray
Date: Wed Dec 15 03:19:14 2010
New Revision: 87256
Log:
#10705: document what the values of debuglevel are and mean.
Modified:
python/branches/py3k/Doc/library/http.client.rst
Modified: python/branches/py3k/Doc/library/http.client.rst
==============================================================================
--- python/branches/py3k/Doc/library/http.client.rst (original)
+++ python/branches/py3k/Doc/library/http.client.rst Wed Dec 15 03:19:14 2010
@@ -405,8 +405,10 @@
.. 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
More information about the Python-checkins
mailing list