]> granicus.if.org Git - python/commitdiff
[3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 9 Sep 2017 17:26:49 +0000 (10:26 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 9 Sep 2017 17:26:49 +0000 (10:26 -0700)
(cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50)

Doc/library/json.rst

index fdbdcb169fab09095b5667d525b9d3dbc8bc9b5d..829218d558439b625c6bc2f1c21aa9ccd84e39a4 100644 (file)
@@ -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::