summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-09-09 17:26:49 (GMT)
committerMariatta <Mariatta@users.noreply.github.com>2017-09-09 17:26:49 (GMT)
commitfe9bebf9605e390994bf75c136bc1fb9443e174c (patch)
treee6084fbaf0e3f6d711036dfc4f57b328680652d7 /Doc/library
parent16f16dbd0ed02cd1a7b270eb6dd80d9bd179902e (diff)
downloadcpython-fe9bebf9605e390994bf75c136bc1fb9443e174c.zip
cpython-fe9bebf9605e390994bf75c136bc1fb9443e174c.tar.gz
cpython-fe9bebf9605e390994bf75c136bc1fb9443e174c.tar.bz2
[3.6] Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) (GH-3473)
(cherry picked from commit a7fbad96c8631070c1db137635d5bdd5e2aaac50)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/json.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index fdbdcb1..829218d 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::