]> granicus.if.org Git - python/commitdiff
Make `json.dumps()` example to be PEP-8 compliant. (GH-3472)
authorSergey Fedoseev <fedoseev.sergey@gmail.com>
Sat, 9 Sep 2017 16:39:36 +0000 (21:39 +0500)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 9 Sep 2017 16:39:36 +0000 (09:39 -0700)
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::