New submission from Joshua Kugler <jkug...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue5522>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to