diff options
author | Bob Ippolito <bob@redivi.com> | 2012-03-29 12:00:07 -0700 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2012-03-29 12:00:07 -0700 |
commit | 58396cef4501a2b619ade30b5057cb2013c1151f (patch) | |
tree | acb3a49a2e4f0d1c0aac9c4e20828cab30922261 /index.rst | |
parent | a19eb434a6733cf97dd5e4dd4721416743b840aa (diff) | |
download | simplejson-58396cef4501a2b619ade30b5057cb2013c1151f.tar.gz |
fix typoitem_sort_key
Diffstat (limited to 'index.rst')
-rw-r--r-- | index.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |