]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Minor grammar changes to http.client docs (GH-96221)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Oct 2022 23:30:07 +0000 (16:30 -0700)
committerGitHub <noreply@github.com>
Mon, 3 Oct 2022 23:30:07 +0000 (16:30 -0700)
Minor grammar changes
(cherry picked from commit d053c47bfde1b3d8779546b980849708662f2660)

Co-authored-by: Rohan Shah <57906961+rshah713@users.noreply.github.com>
Doc/library/http.client.rst

index 16823ec67b0123d0b461649f7d32cbec3274ae84..0a895ebddf4fc3634092c8b8b5c0f634701b0c91 100644 (file)
@@ -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.
 
@@ -37,7 +37,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