summaryrefslogtreecommitdiff
path: root/paste/recursive.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2008-04-27 06:26:53 +0000
committerianb <devnull@localhost>2008-04-27 06:26:53 +0000
commitad6924deae625ce803937bf8511b4985464f55ee (patch)
tree98e7ca0c58dc5e181d6b918a68a7d0a7d2da9b2f /paste/recursive.py
parent6899dbab4003886a5ed0eff27667ed2ffd7663e7 (diff)
downloadpaste-ad6924deae625ce803937bf8511b4985464f55ee.tar.gz
small docstring formatting fixes
Diffstat (limited to 'paste/recursive.py')
-rw-r--r--paste/recursive.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/paste/recursive.py b/paste/recursive.py
index 6f54fd1..8df060b 100644
--- a/paste/recursive.py
+++ b/paste/recursive.py
@@ -104,7 +104,7 @@ class ForwardRequestException(Exception):
Basic usage (must have ``RecursiveMiddleware`` present) :
- .. code-block:: Python
+ .. code-block:: python
from paste.recursive import ForwardRequestException
def app(environ, start_response):
@@ -130,7 +130,7 @@ class ForwardRequestException(Exception):
You could also specify an ``environ`` dictionary instead of a url. Using
the same example as before:
- .. code-block:: Python
+ .. code-block:: python
def app(environ, start_response):
... same as previous example ...
@@ -144,7 +144,7 @@ class ForwardRequestException(Exception):
but use the headers and resposne body from the forwarded response you might
do this:
- .. code-block:: Python
+ .. code-block:: python
from paste.recursive import ForwardRequestException
from paste.recursive import RecursiveMiddleware
@@ -286,7 +286,7 @@ class Forwarder(Recursive):
It returns an iterator that must be returned back up the call
stack, so it must be used like:
- .. code-block:: Python
+ .. code-block:: python
return environ['paste.recursive.forward'](path)