mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)
This commit is contained in:
parent
34fd4c2019
commit
083a7a172b
2 changed files with 6 additions and 0 deletions
|
|
@ -211,6 +211,9 @@ Example of how to GZIP compress a binary string::
|
||||||
The basic data compression module needed to support the :program:`gzip` file
|
The basic data compression module needed to support the :program:`gzip` file
|
||||||
format.
|
format.
|
||||||
|
|
||||||
|
|
||||||
|
.. program:: gzip
|
||||||
|
|
||||||
Command Line Interface
|
Command Line Interface
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -648,7 +648,9 @@ when serializing Python :class:`int` values of extremely large magnitude, or
|
||||||
when serializing instances of "exotic" numerical types such as
|
when serializing instances of "exotic" numerical types such as
|
||||||
:class:`decimal.Decimal`.
|
:class:`decimal.Decimal`.
|
||||||
|
|
||||||
|
|
||||||
.. _json-commandline:
|
.. _json-commandline:
|
||||||
|
.. program:: json.tool
|
||||||
|
|
||||||
Command Line Interface
|
Command Line Interface
|
||||||
----------------------
|
----------------------
|
||||||
|
|
@ -680,6 +682,7 @@ specified, :attr:`sys.stdin` and :attr:`sys.stdout` will be used respectively:
|
||||||
:option:`--sort-keys` option to sort the output of dictionaries
|
:option:`--sort-keys` option to sort the output of dictionaries
|
||||||
alphabetically by key.
|
alphabetically by key.
|
||||||
|
|
||||||
|
|
||||||
Command line options
|
Command line options
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue