From 741fd3ded57be6a18e826238bc85c9145d19011e Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Mon, 21 Oct 2013 11:57:06 +0100 Subject: [PATCH] Remove requests.*() from docs. This looks like a typo, even though it isn't. --- docs/user/advanced.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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') -- 2.34.1