Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 083a7a1

Browse files
bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)
1 parent 34fd4c2 commit 083a7a1

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/library/gzip.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ Example of how to GZIP compress a binary string::
211211
The basic data compression module needed to support the :program:`gzip` file
212212
format.
213213

214+
215+
.. program:: gzip
216+
214217
Command Line Interface
215218
----------------------
216219

Doc/library/json.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,9 @@ when serializing Python :class:`int` values of extremely large magnitude, or
648648
when serializing instances of "exotic" numerical types such as
649649
:class:`decimal.Decimal`.
650650

651+
651652
.. _json-commandline:
653+
.. program:: json.tool
652654

653655
Command Line Interface
654656
----------------------
@@ -680,6 +682,7 @@ specified, :attr:`sys.stdin` and :attr:`sys.stdout` will be used respectively:
680682
:option:`--sort-keys` option to sort the output of dictionaries
681683
alphabetically by key.
682684

685+
683686
Command line options
684687
^^^^^^^^^^^^^^^^^^^^
685688

0 commit comments

Comments
 (0)