Merge pull request #591 from finbarrocallaghan/master

fixed some typos
This commit is contained in:
Armin Ronacher 2012-10-07 03:54:58 -07:00
commit 39329bfc07
6 changed files with 17 additions and 17 deletions

View file

@ -106,7 +106,7 @@ class Request(RequestBase):
def on_json_loading_failed(self, e):
"""Called if decoding of the JSON data failed. The return value of
this method is used by :attr:`json` when an error ocurred. The default
this method is used by :attr:`json` when an error occurred. The default
implementation raises a :class:`JSONBadRequest`, which is a subclass of
:class:`~werkzeug.exceptions.BadRequest` which sets the
``Content-Type`` to ``application/json`` and provides a JSON-formatted