Skip to content
Myr

fix docstring for _find_errorhandler

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Wang Haowei · committed by Wang Haowei · parent 3fe68c2 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:flask/app.py+2 added-1 removed
1406 unmodified lines
1407 return f14081409 def _find_error_handler(self, e):1410 """Finds a registered error handler for the request’s blueprint.1411 If neither blueprint nor App has a suitable handler registered, returns None1411 Otherwise falls back to the app, returns None if not a suitable1412 handler is found.1413 """1414 exc_class, code = self._get_exc_class_and_code(type(e))14151416 def find_handler(handler_map):
560 unmodified lines