summaryrefslogtreecommitdiff
path: root/index.rst
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2009-05-17 21:08:20 +0000
committerBob Ippolito <bob@redivi.com>2009-05-17 21:08:20 +0000
commit363e241c5cb07acff3cde70a4d5fd30ff7341282 (patch)
tree17c9fafc6fff490590f0516750743026c04f0d76 /index.rst
parentf115a9856a7e58bd82dd2d09175e2de17516c1d7 (diff)
downloadsimplejson-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.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/index.rst b/index.rst
index f6084bd..7b646ae 100644
--- a/index.rst
+++ b/index.rst
@@ -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.