summaryrefslogtreecommitdiff
path: root/index.rst
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2012-03-29 12:00:07 -0700
committerBob Ippolito <bob@redivi.com>2012-03-29 12:00:07 -0700
commit58396cef4501a2b619ade30b5057cb2013c1151f (patch)
treeacb3a49a2e4f0d1c0aac9c4e20828cab30922261 /index.rst
parenta19eb434a6733cf97dd5e4dd4721416743b840aa (diff)
downloadsimplejson-58396cef4501a2b619ade30b5057cb2013c1151f.tar.gz
Diffstat (limited to 'index.rst')
-rw-r--r--index.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.rst b/index.rst
index 527721f..c63f57f 100644
--- a/index.rst
+++ b/index.rst
@@ -220,7 +220,7 @@ Basic Usage
If *item_sort_key* is a callable (not the default), then the output of
dictionaries will be sorted with it. The callable will be used like this:
- ``sorted(dct.items(), key=sort_item_key)``. This option takes precedence
+ ``sorted(dct.items(), key=item_sort_key)``. This option takes precedence
over *sort_keys*.
.. versionchanged:: 2.5.0
@@ -487,7 +487,7 @@ Encoders and decoders
If *item_sort_key* is a callable (not the default), then the output of
dictionaries will be sorted with it. The callable will be used like this:
- ``sorted(dct.items(), key=sort_item_key)``. This option takes precedence
+ ``sorted(dct.items(), key=item_sort_key)``. This option takes precedence
over *sort_keys*.
.. versionchanged:: 2.5.0