From 29885d7db56e61a25b2b7be3360f3543f945b589 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 17 Aug 2018 09:52:42 +0200 Subject: [PATCH] bpo-34418: Fix HTTPErrorProcessor documentation --- Doc/library/urllib.request.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 0a9d9dae218f65..cbbec0cd831183 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.