mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
Minor grammar changes to http.client docs (GH-96221)
Minor grammar changes
(cherry picked from commit d053c47bfd
)
Co-authored-by: Rohan Shah <57906961+rshah713@users.noreply.github.com>
This commit is contained in:
parent
fb0d9316ef
commit
4f254f6120
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue