diff options
| author | Chris McDonough <chrism@plope.com> | 2011-09-11 22:05:31 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-09-11 22:05:31 -0400 |
| commit | 0ffb09297c98196fd6b21ef21142fd566ab124ca (patch) | |
| tree | 5331a27976246a5c6d4b46bff727d193e68624b0 | |
| parent | de774b2f67112f52222903053e95ded11522ec71 (diff) | |
| download | pyramid-0ffb09297c98196fd6b21ef21142fd566ab124ca.tar.gz pyramid-0ffb09297c98196fd6b21ef21142fd566ab124ca.tar.bz2 pyramid-0ffb09297c98196fd6b21ef21142fd566ab124ca.zip | |
eliminate lie in docstring
| -rw-r--r-- | pyramid/events.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyramid/events.py b/pyramid/events.py index 28280cc9b..71e923c0f 100644 --- a/pyramid/events.py +++ b/pyramid/events.py @@ -90,15 +90,15 @@ class NewResponse(object): which caused the response, and ``response``, which is the response object returned by a view or renderer. - If the ``response`` was generated by an :term:`exception view`, - the request will have an attribute named ``exception``, which is - the exception object which caused the exception view to be - executed. If the response was generated by a 'normal' view, the - request will not have this attribute. - - This event will not be generated if a response cannot be created - due to an exception that is not caught by an exception view (no - response is created under this circumstace). + If the ``response`` was generated by an :term:`exception view`, the + request will have an attribute named ``exception``, which is the + exception object which caused the exception view to be executed. If the + response was generated by a 'normal' view, this attribute of the request + will be ``None``. + + This event will not be generated if a response cannot be created due to + an exception that is not caught by an exception view (no response is + created under this circumstace). This class implements the :class:`pyramid.interfaces.INewResponse` interface. |
