Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de579d4

Browse files
committed
Add a space to make json doc a bit more readable
1 parent 5c1a0c9 commit de579d4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/json.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Encoding basic Python object hierarchies::
3434
Compact encoding::
3535

3636
>>> import json
37-
>>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':'))
37+
>>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',', ':'))
3838
'[1,2,3,{"4":5,"6":7}]'
3939

4040
Pretty printing::

Lib/json/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Compact encoding::
3232
3333
>>> import json
34-
>>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',',':'))
34+
>>> json.dumps([1,2,3,{'4': 5, '6': 7}], separators=(',', ':'))
3535
'[1,2,3,{"4":5,"6":7}]'
3636
3737
Pretty printing::

0 commit comments

Comments
 (0)