Make `json.dumps()` example to be PEP-8 compliant. (GH-3472)
This commit is contained in:
parent
b84bcc48ae
commit
a7fbad96c8
|
@ -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::
|
||||
|
|
Loading…
Reference in New Issue