diff options
author | Bob Ippolito <bob@redivi.com> | 2009-05-17 21:08:20 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2009-05-17 21:08:20 +0000 |
commit | 363e241c5cb07acff3cde70a4d5fd30ff7341282 (patch) | |
tree | 17c9fafc6fff490590f0516750743026c04f0d76 /index.rst | |
parent | f115a9856a7e58bd82dd2d09175e2de17516c1d7 (diff) | |
download | simplejson-363e241c5cb07acff3cde70a4d5fd30ff7341282.tar.gz |
regenerate docs
git-svn-id: http://simplejson.googlecode.com/svn/trunk@194 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'index.rst')
-rw-r--r-- | index.rst | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -151,7 +151,10 @@ Basic Usage versions of simplejson earlier than 2.1.0, an integer is also accepted and is converted to a string with that many spaces. - If specified, *separators* should be an ``(item_separator, dict_separator)`` + .. versionchanged:: 2.1.0 + Changed *indent* from an integer number of spaces to a string. + + If specified, *separators* should be an ``(item_separator, dict_separator)`` tuple. By default, ``(', ', ': ')`` are used. To get the most compact JSON representation, you should specify ``(',', ':')`` to eliminate whitespace. @@ -400,6 +403,9 @@ Encoders and decoders versions of simplejson earlier than 2.1.0, an integer is also accepted and is converted to a string with that many spaces. + .. versionchanged:: 2.1.0 + Changed *indent* from an integer number of spaces to a string. + If specified, *separators* should be an ``(item_separator, key_separator)`` tuple. By default, ``(', ', ': ')`` are used. To get the most compact JSON representation, you should specify ``(',', ':')`` to eliminate whitespace. |