diff options
author | Bob Ippolito <bob@redivi.com> | 2012-06-26 07:28:32 +0400 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2012-06-26 07:28:32 +0400 |
commit | 16b63cdb118138f8639b6f005d92f2136c815a1e (patch) | |
tree | ee35b9b4c4be7710778d56fe831510f4941565e4 /index.rst | |
parent | e1919939c141bb55c18c67cf576bdb3c2fc0ab18 (diff) | |
download | simplejson-16b63cdb118138f8639b6f005d92f2136c815a1e.tar.gz |
Error messages changed to match proposal for Python 3.3.1
Diffstat (limited to 'index.rst')
-rw-r--r-- | index.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,7 +41,7 @@ Encoding basic Python object hierarchies:: Compact encoding:: >>> import simplejson as 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:: @@ -116,7 +116,7 @@ Using :mod:`simplejson.tool` from the shell to validate and pretty-print:: "json": "obj" } $ echo '{ 1.2:3.4}' | python -m simplejson.tool - Expecting property name: line 1 column 2 (char 2) + Expecting property name enclosed in double quotes: line 1 column 2 (char 2) .. highlight:: python |