[docs] [issue10705] HTTPConnection.set_debuglevel has no information about level range

J_Tom_Moon_79 report at bugs.python.org
Wed Dec 15 00:33:35 CET 2010


J_Tom_Moon_79 <jtm.moon.forum.user+python at gmail.com> added the comment:

Hi David,
Currently the 3.1 documentation reads:
"""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."""
How about:
"""HTTPConnection.set_debuglevel(level)¶
    Set the debug level.  The debug level is the amount of debugging output printed. 
The default debug level is 0, meaning no debugging output is printed.
Currently, any debug level value greater than 0 prints the same amount of debugging output.
debugging output is printed to stdout."""

Information is from the file C:\Python\ActivePython3.1.2.3\Lib\http\client.py

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10705>
_______________________________________


More information about the docs mailing list