From: Sergey Fedoseev Date: Sat, 9 Sep 2017 16:39:36 +0000 (+0500) Subject: Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) X-Git-Tag: v3.7.0a1~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7fbad96c8631070c1db137635d5bdd5e2aaac50;p=python Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) --- 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::