]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fixes typos in http.client documentation (GH-18300)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Feb 2020 12:07:41 +0000 (04:07 -0800)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2020 12:07:41 +0000 (04:07 -0800)
(cherry picked from commit b94737a4af96b29bd4c025724f671e7bc0f6b6f1)

Co-authored-by: James Corbett <james.h.corbett@gmail.com>
Doc/library/http.client.rst

index d7757d07a4ba481d13bbfe37c699642c8170d744..9a0e86b974f6d4157f376c68ea13cd0f39fb2ba7 100644 (file)
@@ -547,8 +547,8 @@ Here is an example session that shows how to ``POST`` requests::
 Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The
 difference lies only the server side where HTTP server will allow resources to
 be created via ``PUT`` request. It should be noted that custom HTTP methods
-+are also handled in :class:`urllib.request.Request` by sending the appropriate
-+method attribute.Here is an example session that shows how to do ``PUT``
+are also handled in :class:`urllib.request.Request` by setting the appropriate
+method attribute. Here is an example session that shows how to send a ``PUT``
 request using http.client::
 
     >>> # This creates an HTTP message