mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-34418: Fix HTTPErrorProcessor documentation (GH-8793)
The http_response() and https_response() methods of the HTTPErrorProcessor class have two required parameters, 'request' and 'response'.
This commit is contained in:
parent
1590c39336
commit
c53aaec793
1 changed files with 2 additions and 2 deletions
|
@ -1125,7 +1125,7 @@ UnknownHandler Objects
|
|||
HTTPErrorProcessor Objects
|
||||
--------------------------
|
||||
|
||||
.. method:: HTTPErrorProcessor.http_response()
|
||||
.. method:: HTTPErrorProcessor.http_response(request, response)
|
||||
|
||||
Process HTTP error responses.
|
||||
|
||||
|
@ -1137,7 +1137,7 @@ HTTPErrorProcessor Objects
|
|||
:exc:`~urllib.error.HTTPError` if no other handler handles the error.
|
||||
|
||||
|
||||
.. method:: HTTPErrorProcessor.https_response()
|
||||
.. method:: HTTPErrorProcessor.https_response(request, response)
|
||||
|
||||
Process HTTPS error responses.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue