summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-24 15:06:15 -0400
committerChris McDonough <chrism@plope.com>2011-08-24 15:06:15 -0400
commita6035f3ccdd770fd463a67e216fa5c6aab9ced5c (patch)
tree66e9cb7ae88c4ef1a31d8f5253b172ef24eb2bd9
parent512e33aeabe13a9a4947dd0277beb583a9c58790 (diff)
downloadpyramid-a6035f3ccdd770fd463a67e216fa5c6aab9ced5c.tar.gz
pyramid-a6035f3ccdd770fd463a67e216fa5c6aab9ced5c.tar.bz2
pyramid-a6035f3ccdd770fd463a67e216fa5c6aab9ced5c.zip
docs typo fix
-rw-r--r--pyramid/httpexceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/httpexceptions.py b/pyramid/httpexceptions.py
index 8c49889be..fef4fe47e 100644
--- a/pyramid/httpexceptions.py
+++ b/pyramid/httpexceptions.py
@@ -987,7 +987,7 @@ class HTTPInsufficientStorage(HTTPServerError):
def exception_response(status_code, **kw):
"""Creates an HTTP exception based on a status code. Example::
- raise responsecode(404) # raises an HTTPNotFound exception.
+ raise exception_response(404) # raises an HTTPNotFound exception.
The values passed as ``kw`` are provided to the exception's constructor.
"""