From ea40d63cdf3e1d82621bfc9cb86fb27ce3631652 Mon Sep 17 00:00:00 2001 From: andy wilson Date: Sat, 11 Sep 2010 18:46:18 -0500 Subject: [PATCH] doc fix: the app.after_request_funcs dict is updated by the app.after_request() decorator --- flask/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flask/app.py b/flask/app.py index f32e4dd8..964394a6 100644 --- a/flask/app.py +++ b/flask/app.py @@ -238,7 +238,7 @@ class Flask(_PackageBoundObject): #: this function is active for, `None` for all requests. This can for #: example be used to open database connections or getting hold of the #: currently logged in user. To register a function here, use the - #: :meth:`before_request` decorator. + #: :meth:`after_request` decorator. self.after_request_funcs = {} #: A dictionary with list of functions that are called without argument