Correct parameter name.

This commit is contained in:
Itamar Turner-Trauring 2021-04-21 10:09:26 -04:00
parent 6e8dde3b14
commit 08cb514eee

View File

@ -96,7 +96,7 @@ def dumps(obj, *args, **kwargs):
def dumps_bytes(obj, *args, **kwargs):
"""Encode to JSON, then encode as bytes.
:param bool all_bytes: If False (the default) the bytes are assumed to be
:param bool any_bytes: If False (the default) the bytes are assumed to be
UTF-8 encoded Unicode strings. If True, non-UTF-8 bytes are quoted for
human consumption.
"""