This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients beazley, georg.brandl, taleinat
Date 2010-06-05.09:18:20
SpamBayes Score 0.012456123
Marked as misclassified No
Message-id <1275729505.23.0.574189488018.issue4785@psf.upfronthosting.co.za>
In-reply-to
Content
Documentation patch attached against py3k branch.

Changes are:

* Added to documentation of JSONDecoder:

If *strict* is ``False`` (``True`` is the default), then control characters will be allowed inside strings.  Control characters in this context are those with character codes in the 0-31 range, including ``'\t'`` (tab), ``'\n'``, ``'\r'`` and ``'\0'``.

* Added clarification in documentation of json.load and json.dump that unless the cls kwarg is specified, the JSONEncoder/JSONDecoder class will be used.

* Mirrored these additions in the relevant doc-strings (JSONDecoder.__init__, json.load, json.loads, json.dump, json.dumps).

* Copied description of the object_pairs_hook kwargs from the documentation to the relevant doc-strings, which otherwise fully mirrored the documentation. (json.load, json.loads, JSONDecoder.__init__)
History
Date User Action Args
2010-06-05 09:18:25taleinatsetrecipients: + taleinat, georg.brandl, beazley
2010-06-05 09:18:25taleinatsetmessageid: <1275729505.23.0.574189488018.issue4785@psf.upfronthosting.co.za>
2010-06-05 09:18:23taleinatlinkissue4785 messages
2010-06-05 09:18:23taleinatcreate