summaryrefslogtreecommitdiffstats
path: root/Doc/library/json.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-08-24 17:49:08 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-08-24 17:49:08 (GMT)
commit15251a99bb239674ec2a4b2d4f7f5bf24235c34f (patch)
tree230e1d8c68b87f523bb770d4c24d70e77590d394 /Doc/library/json.rst
parent331624b67d1b86187b13b4b0030dbca60003fa1e (diff)
downloadcpython-15251a99bb239674ec2a4b2d4f7f5bf24235c34f.zip
cpython-15251a99bb239674ec2a4b2d4f7f5bf24235c34f.tar.gz
cpython-15251a99bb239674ec2a4b2d4f7f5bf24235c34f.tar.bz2
Add glossary references
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r--Doc/library/json.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 5f15926..0229ab5 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -119,7 +119,7 @@ Basic Usage
.. function:: dump(obj, fp, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, default=None, **kw)
Serialize *obj* as a JSON formatted stream to *fp* (a ``.write()``-supporting
- file-like object).
+ :term:`file-like object`).
If *skipkeys* is ``True`` (default: ``False``), then dict keys that are not
of a basic type (:class:`str`, :class:`int`, :class:`float`, :class:`bool`,
@@ -183,8 +183,8 @@ Basic Usage
.. function:: load(fp, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw)
- Deserialize *fp* (a ``.read()``-supporting file-like object containing a JSON
- document) to a Python object.
+ Deserialize *fp* (a ``.read()``-supporting :term:`file-like object`
+ containing a JSON document) to a Python object.
*object_hook* is an optional function that will be called with the result of
any object literal decoded (a :class:`dict`). The return value of