[issue24540] Documentation about skipkeys parameter for json.dumps is incorrect

2015-07-05 Thread Matthew Havard
Matthew Havard added the comment: Also, this typo is present in all versions anyway. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24540 ___

[issue24540] Documentation about skipkeys parameter for json.dumps is incorrect

2015-07-05 Thread Matthew Havard
Matthew Havard added the comment: It's in the actual code in the docstring: https://hg.python.org/cpython/file/6905a7f8c7ac/Lib/json/__init__.py#l187 I'm really new to Mercurial, so I'm not quite sure how to link to the 2.7 version of the Mercurial repo, but here is the link to

[issue24540] Documentation about skipkeys parameter for json.dumps is incorrect

2015-07-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 803520a8db94 by Ned Deily in branch '2.7': Issue #24540: fix typo in json.dumps docstring https://hg.python.org/cpython/rev/803520a8db94 New changeset 0deca75537ec by Ned Deily in branch '3.4': Issue #24540: fix typo in json.dumps docstring

[issue24540] Documentation about skipkeys parameter for json.dumps is incorrect

2015-07-01 Thread Ned Deily
Ned Deily added the comment: Can you say where you are seeing this? The current 2.7 documentation for json reads: If skipkeys is True (default: False), then dict keys that are not of a basic type (str, unicode, int, long, float, bool, None) will be skipped instead of raising a TypeError.

[issue24540] Documentation about skipkeys parameter for json.dumps is incorrect

2015-06-30 Thread Matthew Havard
New submission from Matthew Havard: The documentation from json.dumps says this about skipkeys: If ``skipkeys`` is false then ``dict`` keys that are not basic types (``str``, ``int``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. However, that