summaryrefslogtreecommitdiff
path: root/Doc/library/json.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 16:29:26 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 16:29:26 +0300
commitecf41da83e5db98734b19f205899168cc56da943 (patch)
treee22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/json.rst
parent9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff)
downloadcpython-git-ecf41da83e5db98734b19f205899168cc56da943.tar.gz
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r--Doc/library/json.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index ee582667b6..c1a52a79ea 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -397,8 +397,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