]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#4782: Fix markup error that hid load() and loads().
authorGeorg Brandl <georg@python.org>
Thu, 1 Jan 2009 12:53:19 +0000 (12:53 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 1 Jan 2009 12:53:19 +0000 (12:53 +0000)
Doc/library/json.rst

index bff779be57e4c98ef8f5d66542bb96dea43443a3..cf6138ed3fcdd1bfbfca487df1515f32eba63a99 100644 (file)
@@ -166,7 +166,7 @@ Basic Usage
    :func:`dump`.
 
 
-.. function load(fp[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, **kw]]]]]]])
+.. function:: load(fp[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, **kw]]]]]]])
 
    Deserialize *fp* (a ``.read()``-supporting file-like object containing a JSON
    document) to a Python object.
@@ -202,7 +202,7 @@ Basic Usage
    class.
 
 
-.. function loads(s[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, **kw]]]]]]])
+.. function:: loads(s[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, **kw]]]]]]])
 
    Deserialize *s* (a :class:`str` or :class:`unicode` instance containing a JSON
    document) to a Python object.