Issue #5067: improve some json error messages.

Patch by Serhiy Storchaka.
This commit is contained in:
Antoine Pitrou 2012-06-29 01:58:26 +02:00
parent d958cc960f
commit d9a5137742
5 changed files with 15 additions and 16 deletions

View file

@ -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