fix docstring for _find_errorhandler

This commit is contained in:
Wang Haowei 2015-05-20 20:31:06 +08:00
parent 3fe68c221a
commit be45a608e3

View file

@ -1408,7 +1408,8 @@ class Flask(_PackageBoundObject):
def _find_error_handler(self, e):
"""Finds a registered error handler for the requests blueprint.
If neither blueprint nor App has a suitable handler registered, returns None
Otherwise falls back to the app, returns None if not a suitable
handler is found.
"""
exc_class, code = self._get_exc_class_and_code(type(e))