Skip to content
Myr

Merge pull request #2577 from pallets/jsonify-str

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

Use string concat in jsonify

authored by David Lord · committed by GitHub · parents a43a439, f7983ae · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/json/__init__.py+1 added-1 removed
262 unmodified lines
263 else:264 data = args or kwargs265266 return current_app.response_class(267 (dumps(data, indent=indent, separators=separators), '\n'),267 dumps(data, indent=indent, separators=separators) + '\n',268 mimetype=current_app.config['JSONIFY_MIMETYPE']269 )270271
2 unmodified lines