diff options
author | Trey Hunner <trey@treyhunner.com> | 2024-08-13 16:09:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-13 16:09:38 (GMT) |
commit | 906b796af8388174cf493e23f29720eaed9fdf03 (patch) | |
tree | 4deb9e533a004fb3ec740b2d1b2ac060255704c2 /Doc/whatsnew | |
parent | db6f5e193315a3bbfa7b0b6644203bae3f76b638 (diff) | |
download | cpython-906b796af8388174cf493e23f29720eaed9fdf03.zip cpython-906b796af8388174cf493e23f29720eaed9fdf03.tar.gz cpython-906b796af8388174cf493e23f29720eaed9fdf03.tar.bz2 |
gh-122873: Allow "python -m json" to work (#122884)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.14.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index 3f53f6b..2678607 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -124,6 +124,10 @@ Add notes for JSON serialization errors that allow to identify the source of the error. (Contributed by Serhiy Storchaka in :gh:`122163`.) +Enable :mod:`json` module to work as a script using the :option:`-m` switch: ``python -m json``. +See the :ref:`JSON command-line interface <json-commandline>` documentation. +(Contributed by Trey Hunner in :gh:`122873`.) + operator -------- |