diff options
| author | Tres Seaver <tseaver@palladion.com> | 2013-03-03 12:42:43 -0800 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2013-03-03 12:42:43 -0800 |
| commit | 535a9a168ce15826f535bf3788e81b3c829098f7 (patch) | |
| tree | 73fc6ba71c065be8d561c1bcd495721f1057c8ca /docs | |
| parent | a85491f3cec005e9592c86bd78b66ec0d7a8e599 (diff) | |
| parent | 2afc385f203be30638db41673b3a771772184c81 (diff) | |
| download | pyramid-535a9a168ce15826f535bf3788e81b3c829098f7.tar.gz pyramid-535a9a168ce15826f535bf3788e81b3c829098f7.tar.bz2 pyramid-535a9a168ce15826f535bf3788e81b3c829098f7.zip | |
Merge pull request #869 from tshepang/aesthetics
fix grammar, and remove 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 b9330b881..8ebdfe219 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 |
