[Python-checkins] fixes typos in http.client documentation (GH-18300)

Miss Islington (bot) webhook-mailer at python.org
Mon Feb 3 07:07:46 EST 2020


https://github.com/python/cpython/commit/4c71c8307347948e7386c3d408a5fbf44dacce92
commit: 4c71c8307347948e7386c3d408a5fbf44dacce92
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-02-03T04:07:41-08:00
summary:

fixes typos in http.client documentation (GH-18300)

(cherry picked from commit b94737a4af96b29bd4c025724f671e7bc0f6b6f1)

Co-authored-by: James Corbett <james.h.corbett at gmail.com>

files:
M Doc/library/http.client.rst

diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index d7757d07a4ba4..9a0e86b974f6d 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -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



More information about the Python-checkins mailing list