diff options
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r-- | Doc/library/json.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 302f839..033e3fc 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -407,8 +407,9 @@ Encoders and Decoders (to raise :exc:`TypeError`). If *skipkeys* is false (the default), then it is a :exc:`TypeError` to - attempt encoding of keys that are not str, int, float or None. If - *skipkeys* is true, such items are simply skipped. + attempt encoding of keys that are not :class:`str`, :class:`int`, + :class:`float` or ``None``. If *skipkeys* is true, such items are simply + skipped. If *ensure_ascii* is true (the default), the output is guaranteed to have all incoming non-ASCII characters escaped. If *ensure_ascii* is |