doc fix: the app.after_request_funcs dict is updated by the app.after_request() decorator

This commit is contained in:
andy wilson 2010-09-11 18:46:18 -05:00
parent c62422c318
commit ea40d63cdf

View file

@ -238,7 +238,7 @@ class Flask(_PackageBoundObject):
#: this function is active for, `None` for all requests. This can for #: this function is active for, `None` for all requests. This can for
#: example be used to open database connections or getting hold of the #: example be used to open database connections or getting hold of the
#: currently logged in user. To register a function here, use the #: currently logged in user. To register a function here, use the
#: :meth:`before_request` decorator. #: :meth:`after_request` decorator.
self.after_request_funcs = {} self.after_request_funcs = {}
#: A dictionary with list of functions that are called without argument #: A dictionary with list of functions that are called without argument