[Python-checkins] r68124 - python/trunk/Doc/library/json.rst
georg.brandl
python-checkins at python.org
Thu Jan 1 13:53:20 CET 2009
Author: georg.brandl
Date: Thu Jan 1 13:53:19 2009
New Revision: 68124
Log:
#4782: Fix markup error that hid load() and loads().
Modified:
python/trunk/Doc/library/json.rst
Modified: python/trunk/Doc/library/json.rst
==============================================================================
--- python/trunk/Doc/library/json.rst (original)
+++ python/trunk/Doc/library/json.rst Thu Jan 1 13:53:19 2009
@@ -166,7 +166,7 @@
: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 @@
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.
More information about the Python-checkins
mailing list