From: Cory Benfield Date: Mon, 21 Oct 2013 10:57:06 +0000 (+0100) Subject: Remove requests.*() from docs. X-Git-Tag: v2.0.1~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=741fd3ded57be6a18e826238bc85c9145d19011e;p=services%2Fpython-requests.git Remove requests.*() from docs. This looks like a typo, even though it isn't. --- diff --git a/docs/user/advanced.rst b/docs/user/advanced.rst index cb0ce5e..386e7dd 100644 --- a/docs/user/advanced.rst +++ b/docs/user/advanced.rst @@ -48,13 +48,13 @@ All values that are contained within a session are directly available to you. Se Request and Response Objects ---------------------------- -Whenever a call is made to requests.*() you are doing two major things. First, -you are constructing a ``Request`` object which will be sent off to a server -to request or query some resource. Second, a ``Response`` object is generated -once ``requests`` gets a response back from the server. The Response object -contains all of the information returned by the server and also contains the -``Request`` object you created originally. Here is a simple request to get some -very important information from Wikipedia's servers:: +Whenever a call is made to ``requests.get()`` and friends you are doing two +major things. First, you are constructing a ``Request`` object which will be +sent off to a server to request or query some resource. Second, a ``Response`` +object is generated once ``requests`` gets a response back from the server. +The Response object contains all of the information returned by the server and +also contains the ``Request`` object you created originally. Here is a simple +request to get some very important information from Wikipedia's servers:: >>> r = requests.get('http://en.wikipedia.org/wiki/Monty_Python')