From a6035f3ccdd770fd463a67e216fa5c6aab9ced5c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 24 Aug 2011 15:06:15 -0400 Subject: docs typo fix --- pyramid/httpexceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. """ -- cgit v1.2.3