[Python-checkins] [3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)

Mariatta webhook-mailer at python.org
Sat Sep 9 13:26:52 EDT 2017


https://github.com/python/cpython/commit/fe9bebf9605e390994bf75c136bc1fb9443e174c
commit: fe9bebf9605e390994bf75c136bc1fb9443e174c
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2017-09-09T10:26:49-07:00
summary:

[3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)

(cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50)

files:
M Doc/library/json.rst

diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index fdbdcb169fa..829218d5584 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::



More information about the Python-checkins mailing list