Issue #27304: Source code links for sub-packages in the same file.

Patch by Yoni Lavi
This commit is contained in:
Terry Jan Reedy 2016-06-22 22:46:34 -04:00
parent 06a1fcbb00
commit dcb6c88a24
3 changed files with 31 additions and 1 deletions

View file

@ -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.