8000 fixes typos in http.client documentation (GH-18300) · python/cpython@db2f311 · GitHub
[go: up one dir, main page]

Skip to content

Commit db2f311

Browse files
fixes typos in http.client documentation (GH-18300)
(cherry picked from commit b94737a) Co-authored-by: James Corbett <james.h.corbett@gmail.com>
1 parent 02395fa commit db2f311

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/http.client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ Here is an example session that shows how to ``POST`` requests::
563563
Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The
564564
difference lies only the server side where HTTP server will allow resources to
565565
be created via ``PUT`` request. It should be noted that custom HTTP methods
566-
+are also handled in :class:`urllib.request.Request` by sending the appropriate
567-
+method attribute.Here is an example session that shows how to do ``PUT``
566+
are also handled in :class:`urllib.request.Request` by setting the appropriate
567+
method attribute. Here is an example session that shows how to send a ``PUT``
568568
request using http.client::
569569

570570
>>> # This creates an HTTP message

0 commit comments

Comments
 (0)
0