diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-09-09 17:26:49 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-09-09 17:26:49 (GMT) |
commit | fe9bebf9605e390994bf75c136bc1fb9443e174c (patch) | |
tree | e6084fbaf0e3f6d711036dfc4f57b328680652d7 /Doc/library | |
parent | 16f16dbd0ed02cd1a7b270eb6dd80d9bd179902e (diff) | |
download | cpython-fe9bebf9605e390994bf75c136bc1fb9443e174c.zip cpython-fe9bebf9605e390994bf75c136bc1fb9443e174c.tar.gz cpython-fe9bebf9605e390994bf75c136bc1fb9443e174c.tar.bz2 |
[3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)
(cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/json.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst index fdbdcb1..829218d 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -43,7 +43,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:: |