8000 Minor grammar changes to http.client docs (GH-96221) · python/cpython@4f254f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4f254f6

Browse files
miss-islingtonrshah713
authored andcommitted
Minor grammar changes to http.client docs (GH-96221)
Minor grammar changes (cherry picked from commit d053c47) Co-authored-by: Rohan Shah <57906961+rshah713@users.noreply.github.com>
1 parent fb0d931 commit 4f254f6

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

@@ -37,7 +37,7 @@ The module provides the following classes:
3737
blocksize=8192)
3838

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

0 commit comments

Comments
 (0)
0