Fixed error in errorhandler doc string. (#2014)

This commit is contained in:
Akbar Ibrahim 2016-09-08 21:04:51 +05:30 committed by Markus Unterwaditzer
parent 7132feb1a5
commit c687ffb192

View file

@ -1115,7 +1115,7 @@ class Flask(_PackageBoundObject):
@setupmethod
def errorhandler(self, code_or_exception):
"""A decorator that is used to register a function give a given
"""A decorator that is used to register a function given an
error code. Example::
@app.errorhandler(404)