Kaydet (Commit) 519c3089 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Typos.

üst ac4e58eb
...@@ -36,7 +36,7 @@ The module provides the following classes: ...@@ -36,7 +36,7 @@ The module provides the following classes:
used. If the optional *timeout* parameter is given, blocking used. If the optional *timeout* parameter is given, blocking
operations (like connection attempts) will timeout after that many seconds operations (like connection attempts) will timeout after that many seconds
(if it is not given, the global default timeout setting is used). (if it is not given, the global default timeout setting is used).
The optional *source_address* parameter may be a typle of a (host, port) The optional *source_address* parameter may be a tuple of a (host, port)
to use as the source address the HTTP connection is made from. to use as the source address the HTTP connection is made from.
For example, the following calls all create instances that connect to the server For example, the following calls all create instances that connect to the server
...@@ -400,7 +400,7 @@ HTTPConnection Objects ...@@ -400,7 +400,7 @@ HTTPConnection Objects
contents of the file is sent; this file object should support ``fileno()`` contents of the file is sent; this file object should support ``fileno()``
and ``read()`` methods. The header Content-Length is automatically set to and ``read()`` methods. The header Content-Length is automatically set to
the length of the file as reported by stat. The *body* argument may also be the length of the file as reported by stat. The *body* argument may also be
an iterable and Contet-Length header should be explicitly provided when the an iterable and Content-Length header should be explicitly provided when the
body is an iterable. body is an iterable.
The *headers* argument should be a mapping of extra HTTP The *headers* argument should be a mapping of extra HTTP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment