diff options
author | Bob Ippolito <bob@redivi.com> | 2009-01-03 03:05:13 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2009-01-03 03:05:13 +0000 |
commit | fb46282d18b65dcfa924d9c637351c0720bdacfc (patch) | |
tree | 03931bb7b550750c58d5798c38dffed6927fe5d1 /index.rst | |
parent | e1fee64efcae3f5601a567b8483715dadff76100 (diff) | |
download | simplejson-fb46282d18b65dcfa924d9c637351c0720bdacfc.tar.gz |
yay whitespace and doctest
git-svn-id: http://simplejson.googlecode.com/svn/trunk@159 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'index.rst')
-rw-r--r-- | index.rst | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -44,7 +44,8 @@ Compact encoding:: Pretty printing:: >>> import simplejson as json - >>> print json.dumps({'4': 5, '6': 7}, sort_keys=True, indent=4) + >>> s = json.dumps({'4': 5, '6': 7}, sort_keys=True, indent=4) + >>> print '\n'.join([l.rstrip() for l in s.splitlines()]) { "4": 5, "6": 7 |