cpython/Lib/json
Miss Islington (bot) a932631890
bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) (GH-29446)
so that

$ python -m json.tool foo.json foo.json

doesn't result in an empty foo.json.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 815dad42d5)

Co-authored-by: Chris Wesseling <chris.wesseling@protonmail.com>
2021-11-06 19:01:44 +01:00
..
__init__.py
decoder.py
encoder.py
scanner.py
tool.py bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) (GH-29446) 2021-11-06 19:01:44 +01:00