]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fixes typos in http.client documentation (#18300)
authorJames Corbett <james.h.corbett@gmail.com>
Sat, 1 Feb 2020 12:31:00 +0000 (04:31 -0800)
committerGitHub <noreply@github.com>
Sat, 1 Feb 2020 12:31:00 +0000 (04:31 -0800)
Doc/library/http.client.rst

index 807dd8bd379a080815b57fe4d6c6ceab3cd69b8e..35997db2a9d27d29ac61e7f5ec78614c5bcb13fd 100644 (file)
@@ -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