summaryrefslogtreecommitdiff
path: root/paste/response.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/response.py')
-rw-r--r--paste/response.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/paste/response.py b/paste/response.py
index d5cea3c..7b7d6a1 100644
--- a/paste/response.py
+++ b/paste/response.py
@@ -189,7 +189,9 @@ def error_response(environ, error_code, message,
"""
Returns the status, headers, and body of an error response.
- Use like::
+ Use like:
+
+ ..code-block:: Python
status, headers, body = wsgilib.error_response(
'301 Moved Permanently', 'Moved to <a href="%s">%s</a>'