From: Andrew M. Kuchling Date: Mon, 30 Mar 2009 22:29:15 +0000 (+0000) Subject: Typo fixes X-Git-Tag: v2.7a1~1730 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19672006a7a80dd5d86a1059cae666e855d86feb;p=python Typo fixes --- diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 9eaa3b3ee5..950e4336fd 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -178,12 +178,12 @@ Basic Usage to a :class:`unicode` object and passed to :func:`loads`. *object_hook* is an optional function that will be called with the result of - any object literal decode (a :class:`dict`). The return value of + any object literal decoded (a :class:`dict`). The return value of *object_hook* will be used instead of the :class:`dict`. This feature can be used to implement custom decoders (e.g. JSON-RPC class hinting). *object_pairs_hook* is an optional function that will be called with the - result of any object literal decode with an ordered list of pairs. The + result of any object literal decoded with an ordered list of pairs. The return value of *object_pairs_hook* will be used instead of the :class:`dict`. This feature can be used to implement custom decoders that rely on the order that the key and value pairs are decoded (for example,