summaryrefslogtreecommitdiffstats
path: root/Lib/json
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 /Lib/json
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 'Lib/json')
-rw-r--r--Lib/json/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py
index a746f9c..6d88931 100644
--- a/Lib/json/__init__.py
+++ b/Lib/json/__init__.py
@@ -31,7 +31,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::