]> granicus.if.org Git - python/commit
bpo-24641: Improved error message for JSON unserializible keys. (#4364)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 25 Nov 2017 15:38:20 +0000 (17:38 +0200)
committerGitHub <noreply@github.com>
Sat, 25 Nov 2017 15:38:20 +0000 (17:38 +0200)
commitcfa797c0681b7fef47cf93955fd06b54ddd09a7f
tree6e4ecf5ed329d339b26f1eb2bf1f73950abbee72
parent5b48dc638b7405fd9bde4d854bf477dfeaaddf44
bpo-24641: Improved error message for JSON unserializible keys. (#4364)

Also updated an example for default() in the module docstring.
Removed quotes around type name in other error messages.
Lib/json/__init__.py
Lib/json/encoder.py
Lib/test/test_json/test_fail.py
Modules/_json.c