Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 519c308

Browse files
committed
Typos.
1 parent ac4e58e commit 519c308

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/http.client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The module provides the following classes:
3636
used. If the optional *timeout* parameter is given, blocking
3737
operations (like connection attempts) will timeout after that many seconds
3838
(if it is not given, the global default timeout setting is used).
39-
The optional *source_address* parameter may be a typle of a (host, port)
39+
The optional *source_address* parameter may be a tuple of a (host, port)
4040
to use as the source address the HTTP connection is made from.
4141

4242
For example, the following calls all create instances that connect to the server
@@ -400,7 +400,7 @@ HTTPConnection Objects
400400
contents of the file is sent; this file object should support ``fileno()``
401401
and ``read()`` methods. The header Content-Length is automatically set to
402402
the length of the file as reported by stat. The *body* argument may also be
403-
an iterable and Contet-Length header should be explicitly provided when the
403+
an iterable and Content-Length header should be explicitly provided when the
404404
body is an iterable.
405405

406406
The *headers* argument should be a mapping of extra HTTP

0 commit comments

Comments
 (0)