diff options
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) |
commit | de579d4359e0088feb36bb4be080c2ab36cd9365 (patch) | |
tree | 6d2cd89107859116f3a4ac8265e57af9fb125a6e | |
parent | 5c1a0c969d82670ba7aac7647b9828f4df85c1bd (diff) | |
download | cpython-de579d4359e0088feb36bb4be080c2ab36cd9365.zip cpython-de579d4359e0088feb36bb4be080c2ab36cd9365.tar.gz cpython-de579d4359e0088feb36bb4be080c2ab36cd9365.tar.bz2 |
Add a space to make json doc a bit more readable
-rw-r--r-- | Doc/library/json.rst | 2 | ||||
-rw-r--r-- | Lib/json/__init__.py | 2 |
2 files changed, 2 insertions, 2 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:: 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:: |