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

(cherry picked from commit a7fbad96c8)
This commit is contained in:
Miss Islington (bot) 2017-09-09 10:26:49 -07:00 committed by Mariatta
parent 16f16dbd0e
commit fe9bebf960
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ Encoding basic Python object hierarchies::
Compact encoding:: Compact encoding::
>>> import json >>> 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}]' '[1,2,3,{"4":5,"6":7}]'
Pretty printing:: Pretty printing::