From a7fbad96c8631070c1db137635d5bdd5e2aaac50 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Sat, 9 Sep 2017 21:39:36 +0500 Subject: [PATCH] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) --- Doc/library/json.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:: -- 2.40.0