diff options
| author | Georg Brandl <georg@python.org> | 2014-10-28 22:54:28 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2014-10-28 22:54:28 +0100 |
| commit | cf3e788da457de50d77ee02136a348370420304a (patch) | |
| tree | f88fa6c34d7d8753770fef8c22fab1a383f77d5a /Doc/library/json.rst | |
| parent | bc40df9bff2d2778322154c61e0fb60a40097a00 (diff) | |
| parent | 946faa39e37f51f3461b6ed2b9ce1e19cb258382 (diff) | |
| download | cpython-git-cf3e788da457de50d77ee02136a348370420304a.tar.gz | |
merge with 3.4
Diffstat (limited to 'Doc/library/json.rst')
| -rw-r--r-- | Doc/library/json.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 55127c0a1f..cff0c727c9 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) See :ref:`json-commandline` for detailed documentation. |
