]> granicus.if.org Git - python/commitdiff
Typo fixes
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 30 Mar 2009 22:29:15 +0000 (22:29 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 30 Mar 2009 22:29:15 +0000 (22:29 +0000)
Doc/library/json.rst

index 9eaa3b3ee5e8b1527bfd47faa00578ee9c3b314f..950e4336fd7d4de7b0c5b32319a90387ae616eac 100644 (file)
@@ -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,