From 0ffb09297c98196fd6b21ef21142fd566ab124ca Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 11 Sep 2011 22:05:31 -0400 Subject: eliminate lie in docstring --- pyramid/events.py | 18 +++++++++--------- 1 file 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. -- cgit v1.2.3