[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 Lib/json

[issue24540] Docstring for json.dumps skipkeys parameter is incorrect

2015-07-05 Thread Matthew Havard
Matthew Havard added the comment: Great! Glad to be of service. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24540 ___ ___ Python-bugs-list

[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