[issue3430] httplib.HTTPResponse documentations inconsistent

ThomasH report at bugs.python.org
Tue Jul 22 19:31:20 CEST 2008


New submission from ThomasH <thomas.bugzilla at gmx.net>:

The library reference documentation of httplib.HTTPResponse does not
match up with the online help documentation, or with the dir()
information of a particular instance.

E.g. the list of public features in the library reference
(http://docs.python.org/lib/httpresponse-objects.html) is:
- read
- getheader
- getheaders
- msg
- version
- status
- reason

>From the online documentation (with 'help(httplib.HTTPResponse)'):
- begin
- close
- getheader
- getheaders
- isclosed
- read

And from a class instance (via 'dir(httpResponseInstance)'):
- 'begin',
- 'chunk_left',
- 'chunked',
- 'close',
- 'debuglevel',
- 'fp',
- 'getheader',
- 'getheaders',
- 'isclosed',
- 'length',
- 'msg',
- 'read',
- 'reason',
- 'status',
- 'strict',
- 'version',
- 'will_close'

----------
assignee: georg.brandl
components: Documentation
messages: 70158
nosy: ThomasH, georg.brandl
severity: normal
status: open
title: httplib.HTTPResponse documentations inconsistent
versions: Python 2.5

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


More information about the Python-bugs-list mailing list