summaryrefslogtreecommitdiffstats
path: root/Lib/json
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-04-24 00:42:52 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-04-24 00:42:52 (GMT)
commitfbeb1a94681d9921e9169e991504584eef4501a9 (patch)
tree63d9b157bb0b0783862c5f7da49d5eeff219fdf9 /Lib/json
parentcae1be85f5ac78a7ec73d129ca46cdfc5c5a5ad9 (diff)
parent5348b63a91e3517116fcef2a9e7019b640aa6c9f (diff)
downloadcpython-fbeb1a94681d9921e9169e991504584eef4501a9.zip
cpython-fbeb1a94681d9921e9169e991504584eef4501a9.tar.gz
cpython-fbeb1a94681d9921e9169e991504584eef4501a9.tar.bz2
Merge 3.1
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::