summaryrefslogtreecommitdiffstats
path: root/Doc/library/json.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-04-21 00:37:41 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-04-21 00:37:41 (GMT)
commitde579d4359e0088feb36bb4be080c2ab36cd9365 (patch)
tree6d2cd89107859116f3a4ac8265e57af9fb125a6e /Doc/library/json.rst
parent5c1a0c969d82670ba7aac7647b9828f4df85c1bd (diff)
downloadcpython-de579d4359e0088feb36bb4be080c2ab36cd9365.zip
cpython-de579d4359e0088feb36bb4be080c2ab36cd9365.tar.gz
cpython-de579d4359e0088feb36bb4be080c2ab36cd9365.tar.bz2
Add a space to make json doc a bit more readable
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r--Doc/library/json.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 6bb48e8..48acaf1 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -34,7 +34,7 @@ Encoding basic Python object hierarchies::
Compact encoding::
>>> import json
- >>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':'))
+ >>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',', ':'))
'[1,2,3,{"4":5,"6":7}]'
Pretty printing::