summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-04-14 03:05:36 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2012-04-14 03:05:36 (GMT)
commit9c9af9d2ad0f33faacc9291549586b4df74d4b90 (patch)
tree583a541157b5bfb73b4e675419903519b404da4f /Doc
parent584fbbb32d00435e14433dc892619769d1f8719a (diff)
parent84e59aa989bebdd39d96156e5041dd79bde5a192 (diff)
downloadcpython-9c9af9d2ad0f33faacc9291549586b4df74d4b90.zip
cpython-9c9af9d2ad0f33faacc9291549586b4df74d4b90.tar.gz
cpython-9c9af9d2ad0f33faacc9291549586b4df74d4b90.tar.bz2
Merge highlight and spacing fixes in json example with 3.2.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/json.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index f656700..c2ad6e9 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -90,7 +90,7 @@ Extending :class:`JSONEncoder`::
['[2.0', ', 1.0', ']']
-.. highlight:: none
+.. highlight:: bash
Using json.tool from the shell to validate and pretty-print::
@@ -98,10 +98,10 @@ Using json.tool from the shell to validate and pretty-print::
{
"json": "obj"
}
- $ echo '{ 1.2:3.4}' | python -mjson.tool
- Expecting property name: line 1 column 2 (char 2)
+ $ echo '{1.2:3.4}' | python -mjson.tool
+ Expecting property name: line 1 column 1 (char 1)
-.. highlight:: python
+.. highlight:: python3
.. note::