diff -r 5fea362b92fc Doc/library/json.rst --- a/Doc/library/json.rst Wed Apr 25 19:45:11 2012 +0200 +++ b/Doc/library/json.rst Sun Apr 29 14:32:00 2012 +0300 @@ -209,8 +209,8 @@ (e.g. :class:`float`). *parse_constant*, if specified, will be called with one of the following - strings: ``'-Infinity'``, ``'Infinity'``, ``'NaN'``, ``'null'``, ``'true'``, - ``'false'``. This can be used to raise an exception if invalid JSON numbers + strings: ``'-Infinity'``, ``'Infinity'``, ``'NaN'``. + This can be used to raise an exception if invalid JSON numbers are encountered. To use a custom :class:`JSONDecoder` subclass, specify it with the ``cls``