summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/urllib.request.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 0a9d9dae21..cbbec0cd83 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -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.