commit | 2d24e94bbef97913b5fc434f991fa429f1533557 | [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 | 0423c88ed968018d13bb60d7dc9687f99ab06811 | |
parent | 24319ac40737a3c305bbadca4f89c607a54ec967 [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 6d6558a..1adea31 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