Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mitsuhiko/flask
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Apr 21, 2014
2 parents 7503bde + 5c3b161 commit 6018b12
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/upgrading.rst
Expand Up @@ -64,8 +64,8 @@ If you maintain an extension that was using :data:`~flask._request_ctx_stack`
before, please consider changing to :data:`~flask._app_ctx_stack` if it makes
sense for your extension. For instance, the app context stack makes sense for
extensions which connect to databases. Using the app context stack instead of
the request stack will make extensions more readily handle use cases outside of
requests.
the request context stack will make extensions more readily handle use cases
outside of requests.

Version 0.8
-----------
Expand Down
2 changes: 1 addition & 1 deletion flask/app.py
Expand Up @@ -874,7 +874,7 @@ def make_null_session(self):
return self.session_interface.make_null_session(self)

def register_module(self, module, **options):
"""Registers a module with this application. The keyword argument
"""Registers a module with this application. The keyword arguments
of this function are the same as the ones for the constructor of the
:class:`Module` class and will override the values of the module if
provided.
Expand Down
2 changes: 1 addition & 1 deletion flask/json.py
Expand Up @@ -119,7 +119,7 @@ def dumps(obj, **kwargs):
This function can return ``unicode`` strings or ascii-only bytestrings by
default which coerce into unicode strings automatically. That behavior by
default is controlled by the ``JSON_AS_ASCII`` configuration variable
and can be overriden by the simplejson ``ensure_ascii`` parameter.
and can be overridden by the simplejson ``ensure_ascii`` parameter.
"""
_dump_arg_defaults(kwargs)
encoding = kwargs.pop('encoding', None)
Expand Down
2 changes: 1 addition & 1 deletion flask/wrappers.py
Expand Up @@ -127,7 +127,7 @@ def get_json(self, force=False, silent=False, cache=True):
parsing fails the :meth:`on_json_loading_failed` method on the
request object will be invoked. By default this function will
only load the json data if the mimetype is ``application/json``
but this can be overriden by the `force` parameter.
but this can be overridden by the `force` parameter.
:param force: if set to `True` the mimetype is ignored.
:param silent: if set to `True` this method will fail silently
Expand Down

0 comments on commit 6018b12

Please sign in to comment.