Updated AUTHORS file and added missing versionadded

This commit is contained in:
Armin Ronacher 2010-05-31 17:38:05 +02:00
parent 7a4b608839
commit 50bca8c2d3
3 changed files with 14 additions and 0 deletions

View file

@ -615,6 +615,8 @@ class Module(_PackageBoundObject):
def app_errorhandler(self, code):
"""Like :meth:`Flask.errorhandler` but for a module. This
handler is used for all requests, even if outside of the module.
.. versionadded:: 0.4
"""
def decorator(f):
self._record(lambda s: s.app.errorhandler(code)(f))