Browse Source

Fixed typo occours to occurs

Fixed a typo in the docstring of handle_exception. Was occours, now occurs.
pull/603/head
Ryan Macy 12 years ago
parent
commit
7233a3e0a2
  1. 2
      flask/app.py

2
flask/app.py

@ -1265,7 +1265,7 @@ class Flask(_PackageBoundObject):
def handle_exception(self, e): def handle_exception(self, e):
"""Default exception handling that kicks in when an exception """Default exception handling that kicks in when an exception
occours that is not caught. In debug mode the exception will occurs that is not caught. In debug mode the exception will
be re-raised immediately, otherwise it is logged and the handler be re-raised immediately, otherwise it is logged and the handler
for a 500 internal server error is used. If no such handler for a 500 internal server error is used. If no such handler
exists, a default 500 internal server error message is displayed. exists, a default 500 internal server error message is displayed.

Loading…
Cancel
Save