summaryrefslogtreecommitdiff
path: root/Lib/json/tool.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-29 01:59:54 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-29 01:59:54 +0200
commit802d669044b14ae535e0136c6a9949a1725b7e14 (patch)
tree79dd128aa2e8a63906eac4a1e254cb5019949a89 /Lib/json/tool.py
parent3a3dc17fc9a934682dda76188b367ec261905520 (diff)
parent2d24e94bbef97913b5fc434f991fa429f1533557 (diff)
downloadcpython-git-802d669044b14ae535e0136c6a9949a1725b7e14.tar.gz
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib/json/tool.py')
-rw-r--r--Lib/json/tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/tool.py b/Lib/json/tool.py
index 6d6558acaf..1adea31dbd 100644
--- a/Lib/json/tool.py
+++ b/Lib/json/tool.py
@@ -7,7 +7,7 @@ Usage::
"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