commit | d9a5137742f066492c831c9b6f3eeb59c2e479b7 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Jun 29 01:58:26 2012 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Jun 29 01:58:26 2012 +0200 |
tree | 8e3c65c89669e8a7ed91cd87e54afe3a4bf0411e | |
parent | d958cc960f8262c5ec8ec7993d966aa19e4dbe3e [diff] [blame] |
Issue #5067: improve some json error messages. Patch by Serhiy Storchaka.
diff --git a/Lib/json/tool.py b/Lib/json/tool.py index c37bb77..b2c786d 100644 --- a/Lib/json/tool.py +++ b/Lib/json/tool.py
@@ -7,7 +7,7 @@ "json": "obj" } $ echo '{ 1.2:3.4}' | python -m json.tool - Expecting property name: line 1 column 2 (char 2) + Expecting property name enclosed in double quotes: line 1 column 2 (char 2) """ import sys