summaryrefslogtreecommitdiff
path: root/Doc/library/json.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-22 22:46:34 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-22 22:46:34 -0400
commitdcb6c88a240fea82da8867d1de1022a4555f22b4 (patch)
tree69d79bbbeffa667cf5c77387a1ee1ae5df6c2e6f /Doc/library/json.rst
parent06a1fcbb0035c664fefc53ddb8df65cc03a537b7 (diff)
downloadcpython-git-dcb6c88a240fea82da8867d1de1022a4555f22b4.tar.gz
Issue #27304: Source code links for sub-packages in the same file.
Patch by Yoni Lavi
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r--Doc/library/json.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 174e734115..1e34cf3bdf 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -629,13 +629,19 @@ when serializing instances of "exotic" numerical types such as
:class:`decimal.Decimal`.
.. highlight:: bash
-.. module:: json.tool
.. _json-commandline:
Command Line Interface
----------------------
+.. module:: json.tool
+ :synopsis: A command line to validate and pretty-print JSON.
+
+**Source code:** :source:`Lib/json/tool.py`
+
+--------------
+
The :mod:`json.tool` module provides a simple command line interface to validate
and pretty-print JSON objects.