diff options
| author | Catalin Iacob <iacobcatalin@gmail.com> | 2013-04-01 18:12:46 +0200 |
|---|---|---|
| committer | Catalin Iacob <iacobcatalin@gmail.com> | 2013-04-01 18:13:43 +0200 |
| commit | c69f357e79c9b1b619fa5a68137d9e11de39bc9e (patch) | |
| tree | 9c9374aead9d764a0bbc179f542398ee00c000a2 /docs | |
| parent | 1b0d1cf0b970aa7a69a42a59617cd78983bc9942 (diff) | |
| download | pyramid-c69f357e79c9b1b619fa5a68137d9e11de39bc9e.tar.gz pyramid-c69f357e79c9b1b619fa5a68137d9e11de39bc9e.tar.bz2 pyramid-c69f357e79c9b1b619fa5a68137d9e11de39bc9e.zip | |
Improve phrasing
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/hooks.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst index f16ab93d8..a3de23baa 100644 --- a/docs/narr/hooks.rst +++ b/docs/narr/hooks.rst @@ -109,9 +109,8 @@ callable: instance of the :exc:`~pyramid.httpexceptions.HTTPNotFound` exception that caused the Not Found View to be called. The value of ``request.exception.message`` will be a value explaining why the Not Found - error was raised. This message will be different when the - ``pyramid.debug_notfound`` environment setting is true than it is when it - is false. + error was raised. This message has different values depending whether the + ``pyramid.debug_notfound`` environment setting is true or false. .. note:: @@ -208,9 +207,9 @@ Here's some sample code that implements a minimal forbidden view: that caused the forbidden view to be called. The value of ``request.exception.message`` will be a value explaining why the forbidden was raised and ``request.exception.result`` will be extended information - about the forbidden exception. These messages will be different when the - ``pyramid.debug_authorization`` environment setting is true than it is when - it is false. + about the forbidden exception. These messages have different values + depending whether the ``pyramid.debug_authorization`` environment setting + is true or false. .. index:: single: request factory |
