Skip to content

Commit 3e90de2

Browse files
committed
corrected documentation for Request get_json()
1 parent be73233 commit 3e90de2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask/wrappers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ def get_json(self, force=False, silent=False, cache=True):
115115
but this can be overriden by the `force` parameter.
116116
117117
:param force: if set to `True` the mimetype is ignored.
118-
:param silent: if set to `False` this method will fail silently
119-
and return `False`.
118+
:param silent: if set to `True` this method will fail silently
119+
and return `None`.
120120
:param cache: if set to `True` the parsed JSON data is remembered
121121
on the request.
122122
"""

0 commit comments

Comments
 (0)