diff options
| author | Chris McDonough <chrism@plope.com> | 2011-08-24 15:06:15 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-08-24 15:06:15 -0400 |
| commit | a6035f3ccdd770fd463a67e216fa5c6aab9ced5c (patch) | |
| tree | 66e9cb7ae88c4ef1a31d8f5253b172ef24eb2bd9 /pyramid/httpexceptions.py | |
| parent | 512e33aeabe13a9a4947dd0277beb583a9c58790 (diff) | |
| download | pyramid-a6035f3ccdd770fd463a67e216fa5c6aab9ced5c.tar.gz pyramid-a6035f3ccdd770fd463a67e216fa5c6aab9ced5c.tar.bz2 pyramid-a6035f3ccdd770fd463a67e216fa5c6aab9ced5c.zip | |
docs typo fix
Diffstat (limited to 'pyramid/httpexceptions.py')
| -rw-r--r-- | pyramid/httpexceptions.py | 2 |
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. """ |
