Skip to content

Commit 06df61a

Browse files
committed
corrected typo in json.tools
must cat file.json | python -m json.tool
1 parent fabea4b commit 06df61a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

one_liners.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ json quickly from a file then you can simply do:
3636

3737
.. code:: python
3838
39-
cat file.json | python -m json.tools
39+
cat file.json | python -m json.tool
4040
4141
**Profiling a script**
4242

0 commit comments

Comments
 (0)