From 1e5c58acf871f7e95e3b86e9cac9b0a2c889ea5f Mon Sep 17 00:00:00 2001 From: flibustenet Date: Mon, 5 May 2014 18:48:19 +0200 Subject: Order of response_callback in the docstring --- pyramid/request.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/request.py b/pyramid/request.py index f8514066e..6318049ee 100644 --- a/pyramid/request.py +++ b/pyramid/request.py @@ -59,8 +59,8 @@ class CallbackMethodsMixin(object): called if an exception happens in application code, or if the response object returned by :term:`view` code is invalid. - All response callbacks are called *after* the - :class:`pyramid.events.NewResponse` event is sent. + All response callbacks are called *after* the tweens and + *before* the :class:`pyramid.events.NewResponse` event is sent. Errors raised by callbacks are not handled specially. They will be propagated to the caller of the :app:`Pyramid` -- cgit v1.2.3