summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-11 18:18:16 (GMT)
committerGeorg Brandl <georg@python.org>2009-04-11 18:18:16 (GMT)
commit639ce96bcb891bb465690dd76d44e87157f1f7a9 (patch)
tree9927a0b71a4074c1bb503aceb1a19ff033cbcb72 /Doc
parent711af3ae1e4535252b7eff8f652071964aa7034a (diff)
downloadcpython-639ce96bcb891bb465690dd76d44e87157f1f7a9.zip
cpython-639ce96bcb891bb465690dd76d44e87157f1f7a9.tar.gz
cpython-639ce96bcb891bb465690dd76d44e87157f1f7a9.tar.bz2
Remove mentions of "long".
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/json.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 22925f5..bd31a31 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -118,7 +118,7 @@ Basic Usage
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`,
+ of a basic type (:class:`str`, :class:`unicode`, :class:`int`,
:class:`float`, :class:`bool`, ``None``) will be skipped instead of raising a
:exc:`TypeError`.
@@ -232,7 +232,7 @@ Encoders and decoders
+---------------+-------------------+
| string | unicode |
+---------------+-------------------+
- | number (int) | int, long |
+ | number (int) | int |
+---------------+-------------------+
| number (real) | float |
+---------------+-------------------+
@@ -304,7 +304,7 @@ Encoders and decoders
+-------------------+---------------+
| str, unicode | string |
+-------------------+---------------+
- | int, long, float | number |
+ | int, float | number |
+-------------------+---------------+
| True | true |
+-------------------+---------------+
@@ -319,7 +319,7 @@ Encoders and decoders
(to raise :exc:`TypeError`).
If *skipkeys* is ``False`` (the default), then it is a :exc:`TypeError` to
- attempt encoding of keys that are not str, int, long, float or None. If
+ attempt encoding of keys that are not str, int, float or None. If
*skipkeys* is ``True``, such items are simply skipped.
If *ensure_ascii* is ``True`` (the default), the output is guaranteed to be