[Python-Dev] cpython (3.2): Fix closes Issue12315 - Updates to http.client documentation.

Georg Brandl g.brandl at gmx.net
Mon Jun 20 09:11:20 CEST 2011


On 20.06.2011 02:00, senthil.kumaran wrote:
> http://hg.python.org/cpython/rev/d801b570b1dd
> changeset:   70882:d801b570b1dd
> branch:      3.2
> parent:      70880:9e58a638f028
> user:        Senthil Kumaran <senthil at uthcode.com>
> date:        Sun Jun 19 16:56:49 2011 -0700
> summary:
>   Fix closes Issue12315 - Updates to http.client documentation.
> 
> files:
>   Doc/library/http.client.rst |  13 ++++++++++++-
>   1 files changed, 12 insertions(+), 1 deletions(-)
> 
> 
> diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
> --- a/Doc/library/http.client.rst
> +++ b/Doc/library/http.client.rst
> @@ -543,6 +543,9 @@
>     A debugging hook.  If :attr:`debuglevel` is greater than zero, messages
>     will be printed to stdout as the response is read and parsed.
>  
> +.. attribute:: HTTPResponse.closed
> +
> +   Is True if the stream is closed. 
>
>  Examples
>  --------

This is not a big deal, and I'm not picking specially on you here, Senthil,
it's just something that I've noticed several times:

Newlines are a valuable tool for structuring reST files (just like in Python
files).  I tried to set up a convention to separate large blocks (such as
sections) by two newlines, to make it easier to scroll and find what you're
looking for.  Please try to keep this intact.

Thanks,
Georg



More information about the Python-Dev mailing list