[Python-checkins] r71491 - python/branches/py3k/Doc/library/json.rst
georg.brandl
python-checkins at python.org
Sat Apr 11 20:18:17 CEST 2009
Author: georg.brandl
Date: Sat Apr 11 20:18:16 2009
New Revision: 71491
Log:
Remove mentions of "long".
Modified:
python/branches/py3k/Doc/library/json.rst
Modified: python/branches/py3k/Doc/library/json.rst
==============================================================================
--- python/branches/py3k/Doc/library/json.rst (original)
+++ python/branches/py3k/Doc/library/json.rst Sat Apr 11 20:18:16 2009
@@ -118,7 +118,7 @@
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 @@
+---------------+-------------------+
| string | unicode |
+---------------+-------------------+
- | number (int) | int, long |
+ | number (int) | int |
+---------------+-------------------+
| number (real) | float |
+---------------+-------------------+
@@ -304,7 +304,7 @@
+-------------------+---------------+
| str, unicode | string |
+-------------------+---------------+
- | int, long, float | number |
+ | int, float | number |
+-------------------+---------------+
| True | true |
+-------------------+---------------+
@@ -319,7 +319,7 @@
(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
More information about the Python-checkins
mailing list