[issue5522] HTTPRedirectHandler documentation is wrong

Joshua Kugler report at bugs.python.org
Fri Mar 20 01:25:21 CET 2009


New submission from Joshua Kugler <jkugler at bigfoot.com>:

On the page lib/http-redirect-handler.html it says the signature of 
redirect_request is:

redirect_request(  req, fp, code, msg, hdrs)

It is actually:

redirect_request(req, fp, code, msg, hdrs, newurl)

Well, technically the signature is:

redirect_request(self, req, fp, code, msg, hdrs, newurl)

but it is called as the six-argument version.

----------
assignee: georg.brandl
components: Documentation
messages: 83832
nosy: georg.brandl, jkugler
severity: normal
status: open
title: HTTPRedirectHandler documentation is wrong
versions: Python 2.5

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


More information about the Python-bugs-list mailing list