From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 9 Sep 2017 17:26:49 +0000 (-0700) Subject: [3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473) X-Git-Tag: v3.6.3rc1~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe9bebf9605e390994bf75c136bc1fb9443e174c;p=python [3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473) (cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50) --- diff --git a/Doc/library/json.rst b/Doc/library/json.rst index fdbdcb169f..829218d558 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::