summaryrefslogtreecommitdiff
path: root/Doc/library/json.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-28 22:54:24 +0100
committerGeorg Brandl <georg@python.org>2014-10-28 22:54:24 +0100
commit2ef08d4deb74a0e0a2e08e3a2d755b20f829fec1 (patch)
treef8310bbd8f6fa8ef801165b4d9956dbeb1c51885 /Doc/library/json.rst
parentd7e980793f36b0f404a50e7c73dedc0ded576788 (diff)
downloadcpython-2ef08d4deb74a0e0a2e08e3a2d755b20f829fec1.tar.gz
Using "-m module" is easier to read and understand than "-mmodule".
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r--Doc/library/json.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 5d97ee88fc..b495b49680 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -97,11 +97,11 @@ Extending :class:`JSONEncoder`::
Using json.tool from the shell to validate and pretty-print::
- $ echo '{"json":"obj"}' | python -mjson.tool
+ $ echo '{"json":"obj"}' | python -m json.tool
{
"json": "obj"
}
- $ echo '{1.2:3.4}' | python -mjson.tool
+ $ echo '{1.2:3.4}' | python -m json.tool
Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
.. highlight:: python3