Browse Source

Fixed error in errorhandler doc string. (#2014)

reviewable/pr2017/r1
Akbar Ibrahim 8 years ago committed by Markus Unterwaditzer
parent
commit
c687ffb192
  1. 2
      flask/app.py

2
flask/app.py

@ -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)

Loading…
Cancel
Save