summaryrefslogtreecommitdiffstats
path: root/Lib/json/__init__.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-28 23:58:26 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-28 23:58:26 (GMT)
commit2d24e94bbef97913b5fc434f991fa429f1533557 (patch)
tree0423c88ed968018d13bb60d7dc9687f99ab06811 /Lib/json/__init__.py
parent24319ac40737a3c305bbadca4f89c607a54ec967 (diff)
downloadcpython-2d24e94bbef97913b5fc434f991fa429f1533557.zip
cpython-2d24e94bbef97913b5fc434f991fa429f1533557.tar.gz
cpython-2d24e94bbef97913b5fc434f991fa429f1533557.tar.bz2
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Lib/json/__init__.py')
-rw-r--r--Lib/json/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py
index ba2bc1d..725b5cd 100644
--- a/Lib/json/__init__.py
+++ b/Lib/json/__init__.py
@@ -97,7 +97,7 @@ Using json.tool from the shell to validate and pretty-print::
"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)
"""
__version__ = '2.0.9'
__all__ = [