doc(reference): Remove extraneouse markup

This patch removes an empt rST code block and changes Request and Response
section title from "Objects" to "Req/Resp" to make it easier for users to
find documentation for the "req" and "resp" objects passed into responders.
This commit is contained in:
kgriffs
2014-04-09 14:08:05 -05:00
parent 37d9c5829c
commit c0bb04acbb
2 changed files with 4 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
.. _request: .. _request:
Objects Req/Resp
======= ========
Instances of the Request and Response classes are passed into responders as the second Instances of the Request and Response classes are passed into responders as the second
and third arguments, respectively. and third arguments, respectively.

View File

@@ -227,12 +227,9 @@ Edit your ``images.py`` file and add the following to the resource:
def __init__(self, storage_path): def __init__(self, storage_path):
self.storage_path = storage_path self.storage_path = storage_path
Next, edit ``app.py`` and pass in a path to the resource initializer. For now, Then, edit ``app.py`` and pass in a path to the resource initializer.
it's just fine to hard-code the string.
.. code:: python Next, let's implement the POST responder:
Now, let's implement the POST responder:
.. code:: python .. code:: python