Skip to content
Myr

fix typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by raimu · committed by raimu · parent d4b3d16 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:flask/json.py+1 added-1 removed
117 unmodified lines
118119 This function can return ``unicode`` strings or ascii-only bytestrings by120 default which coerce into unicode strings automatically. That behavior by121 default is controlled by the ``JSON_AS_ASCII`` configuration variable122 and can be overriden by the simplejson ``ensure_ascii`` parameter.122 and can be overridden by the simplejson ``ensure_ascii`` parameter.123 """124 _dump_arg_defaults(kwargs)125 encoding = kwargs.pop('encoding', None)126 rv = _json.dumps(obj, **kwargs)
117 unmodified lines
modified:flask/wrappers.py+1 added-1 removed
125 unmodified lines
126 """Parses the incoming JSON request data and returns it. If127 parsing fails the :meth:`on_json_loading_failed` method on the128 request object will be invoked. By default this function will129 only load the json data if the mimetype is ``application/json``130 but this can be overriden by the `force` parameter.130 but this can be overridden by the `force` parameter.131132 :param force: if set to `True` the mimetype is ignored.133 :param silent: if set to `True` this method will fail silently134 and return `None`.
65 unmodified lines