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

James Corbett webhook-mailer at python.org
Sat Feb 1 07:31:22 EST 2020


https://github.com/python/cpython/commit/b94737a4af96b29bd4c025724f671e7bc0f6b6f1
commit: b94737a4af96b29bd4c025724f671e7bc0f6b6f1
branch: master
author: James Corbett <james.h.corbett at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-02-01T04:31:00-08:00
summary:

fixes typos in http.client documentation (#18300)

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

diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 807dd8bd379a0..35997db2a9d27 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -586,8 +586,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