]> granicus.if.org Git - python/commitdiff
Add glossary references
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 24 Aug 2012 17:49:08 +0000 (19:49 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 24 Aug 2012 17:49:08 +0000 (19:49 +0200)
Doc/library/json.rst

index 437dce16dbb6ed14ce65fbf3bef7806f17a5d7a3..69ebc4fc9c9763c8c01a36489dc8501d96577972 100644 (file)
@@ -120,7 +120,7 @@ Basic Usage
 .. function:: dump(obj, fp[, skipkeys[, ensure_ascii[, check_circular[, allow_nan[, cls[, indent[, separators[, encoding[, default[, **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:`unicode`, :class:`int`, :class:`long`,
@@ -185,8 +185,8 @@ Basic Usage
 
 .. function:: load(fp[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, object_pairs_hook[, **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.
 
    If the contents of *fp* are encoded with an ASCII based encoding other than
    UTF-8 (e.g. latin-1), then an appropriate *encoding* name must be specified.