[Python-checkins] Minor grammar changes to http.client docs (GH-96221)
miss-islington
webhook-mailer at python.org
Mon Oct 3 19:30:20 EDT 2022
https://github.com/python/cpython/commit/280bf3fb1669b4a83127acea91654be241f0d6dc
commit: 280bf3fb1669b4a83127acea91654be241f0d6dc
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-10-03T16:30:14-07:00
summary:
Minor grammar changes to http.client docs (GH-96221)
Minor grammar changes
(cherry picked from commit d053c47bfde1b3d8779546b980849708662f2660)
Co-authored-by: Rohan Shah <57906961+rshah713 at users.noreply.github.com>
files:
M Doc/library/http.client.rst
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 380f52b2558f..be10e4b62f43 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -14,7 +14,7 @@
--------------
-This module defines classes which implement the client side of the HTTP and
+This module defines classes that implement the client side of the HTTP and
HTTPS protocols. It is normally not used directly --- the module
:mod:`urllib.request` uses it to handle URLs that use HTTP and HTTPS.
@@ -35,7 +35,7 @@ The module provides the following classes:
blocksize=8192)
An :class:`HTTPConnection` instance represents one transaction with an HTTP
- server. It should be instantiated passing it a host and optional port
+ server. It should be instantiated by passing it a host and optional port
number. If no port number is passed, the port is extracted from the host
string if it has the form ``host:port``, else the default HTTP port (80) is
used. If the optional *timeout* parameter is given, blocking
More information about the Python-checkins
mailing list