Skip to content
Myr

Fixed error in errorhandler doc string. (#2014)

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

authored by Akbar Ibrahim · committed by Markus Unterwaditzer · parent 7132feb · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/app.py+1 added-1 removed
1113 unmodified lines
1114 return exc_class, None11151116 @setupmethod1117 def errorhandler(self, code_or_exception):1118 """A decorator that is used to register a function give a given1118 """A decorator that is used to register a function given an1119 error code. Example::11201121 @app.errorhandler(404)1122 def page_not_found(error):
868 unmodified lines