Skip to content
Myr

Fix broken func directives in docstrings

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

authored by Grey Li · committed by Grey Li · parent 7d2ba3e · Browse files · 1 file+3 added−3 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+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:src/flask/json/__init__.py+3 added-3 removed
101 unmodified lines
102103 :param obj: Object to serialize to JSON.104 :param app: Use this app's config instead of the active app context105 or defaults.106 :param kwargs: Extra arguments passed to func:`json.dumps`.106 :param kwargs: Extra arguments passed to :func:`json.dumps`.107108 .. versionchanged:: 2.0109 ``encoding`` is deprecated and will be removed in 2.1.110
27 unmodified lines
138 :param obj: Object to serialize to JSON.139 :param fp: File object to write JSON to.140 :param app: Use this app's config instead of the active app context141 or defaults.142 :param kwargs: Extra arguments passed to func:`json.dump`.142 :param kwargs: Extra arguments passed to :func:`json.dump`.143144 .. versionchanged:: 2.0145 Writing to a binary file, and the ``encoding`` argument, is146 deprecated and will be removed in 2.1.
63 unmodified lines
210211 :param fp: File object to read JSON from.212 :param app: Use this app's config instead of the active app context213 or defaults.214 :param kwargs: Extra arguments passed to func:`json.load`.214 :param kwargs: Extra arguments passed to :func:`json.load`.215216 .. versionchanged:: 2.0217 ``encoding`` is deprecated and will be removed in 2.1. The file218 must be text mode, or binary mode with UTF-8 bytes.
123 unmodified lines