From: Georg Brandl Date: Thu, 1 Jan 2009 12:53:19 +0000 (+0000) Subject: #4782: Fix markup error that hid load() and loads(). X-Git-Tag: v2.7a1~2444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914fc88cdc0a099e2a7021e48dc9ce339c81e89d;p=thirdparty%2FPython%2Fcpython.git #4782: Fix markup error that hid load() and loads(). --- diff --git a/Doc/library/json.rst b/Doc/library/json.rst index bff779be57e4..cf6138ed3fcd 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -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.