summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Corbett <james.h.corbett@gmail.com>2020-02-01 12:31:00 (GMT)
committerGitHub <noreply@github.com>2020-02-01 12:31:00 (GMT)
commitb94737a4af96b29bd4c025724f671e7bc0f6b6f1 (patch)
tree7f223435493315a7b1c5d06f32cf821b783ea463
parent90d9ba6ef10af32e8dfe0649789c3a8ccf419e95 (diff)
downloadcpython-b94737a4af96b29bd4c025724f671e7bc0f6b6f1.zip
cpython-b94737a4af96b29bd4c025724f671e7bc0f6b6f1.tar.gz
cpython-b94737a4af96b29bd4c025724f671e7bc0f6b6f1.tar.bz2
fixes typos in http.client documentation (#18300)
-rw-r--r--Doc/library/http.client.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 807dd8b..35997db 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