Commit c53aaec7 authored by Sebastian Rittau's avatar Sebastian Rittau Committed by Berker Peksag

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'.
parent 1590c393
...@@ -1125,7 +1125,7 @@ UnknownHandler Objects ...@@ -1125,7 +1125,7 @@ UnknownHandler Objects
HTTPErrorProcessor Objects HTTPErrorProcessor Objects
-------------------------- --------------------------
.. method:: HTTPErrorProcessor.http_response() .. method:: HTTPErrorProcessor.http_response(request, response)
Process HTTP error responses. Process HTTP error responses.
...@@ -1137,7 +1137,7 @@ HTTPErrorProcessor Objects ...@@ -1137,7 +1137,7 @@ HTTPErrorProcessor Objects
:exc:`~urllib.error.HTTPError` if no other handler handles the error. :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. Process HTTPS error responses.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment