SIGN IN SIGN UP

bpo-45644: Make json.tool read infile before writing to outfile (GH-29273)

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>
C
Chris Wesseling committed
815dad42d53fc40a6dc057e067f4a8a885c3b858
Parent: e9594f6
Committed by GitHub <noreply@github.com> on 11/6/2021, 5:11:35 PM