diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-02-23 12:36:06 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-02-23 12:36:06 +0200 |
| commit | 2afc385f203be30638db41673b3a771772184c81 (patch) | |
| tree | 2b26a736b1f07765734bc8660ebcffbe4d5a9589 /docs | |
| parent | e84477b03f0f6c4577abd51fa51f69f1224fa99e (diff) | |
| download | pyramid-2afc385f203be30638db41673b3a771772184c81.tar.gz pyramid-2afc385f203be30638db41673b3a771772184c81.tar.bz2 pyramid-2afc385f203be30638db41673b3a771772184c81.zip | |
make easier on the eyes
Also fixes grammar, and removes repetition.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/views.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 860c380f3..7acec49e5 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -236,12 +236,11 @@ How Pyramid Uses HTTP Exceptions HTTP exceptions are meant to be used directly by application developers. However, Pyramid itself will raise two HTTP exceptions at various points during normal operations: -:exc:`pyramid.httpexceptions.HTTPNotFound` and -:exc:`pyramid.httpexceptions.HTTPForbidden`. Pyramid will raise the -:exc:`~pyramid.httpexceptions.HTTPNotFound` exception are raised when it -cannot find a view to service a request. Pyramid will raise the -:exc:`~pyramid.httpexceptions.Forbidden` exception or when authorization was -forbidden by a security policy. + +* :exc:`~pyramid.httpexceptions.HTTPNotFound` + gets raised when a view to service a request is not found. +* :exc:`~pyramid.httpexceptions.HTTPForbidden` + gets raised when authorization was forbidden by a security policy. If :exc:`~pyramid.httpexceptions.HTTPNotFound` is raised by Pyramid itself or within view code, the result of the :term:`Not Found View` will be returned |
