Skip to content

Commit 280bf3f

Browse files
Minor grammar changes to http.client docs (GH-96221)
Minor grammar changes (cherry picked from commit d053c47) Co-authored-by: Rohan Shah <[email protected]>
1 parent f8a3c4c commit 280bf3f

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
@@ -14,7 +14,7 @@
1414

1515
--------------
1616

17-
This module defines classes which implement the client side of the HTTP and
17+
This module defines classes that implement the client side of the HTTP and
1818
HTTPS protocols. It is normally not used directly --- the module
1919
:mod:`urllib.request` uses it to handle URLs that use HTTP and HTTPS.
2020

@@ -35,7 +35,7 @@ The module provides the following classes:
3535
blocksize=8192)
3636

3737
An :class:`HTTPConnection` instance represents one transaction with an HTTP
38-
server. It should be instantiated passing it a host and optional port
38+
server. It should be instantiated by passing it a host and optional port
3939
number. If no port number is passed, the port is extracted from the host
4040
string if it has the form ``host:port``, else the default HTTP port (80) is
4141
used. If the optional *timeout* parameter is given, blocking

0 commit comments

Comments
 (0)