Issue #17225: JSON decoder now counts columns in the first line starting

with 1, as in other lines.
This commit is contained in:
Serhiy Storchaka 2013-02-21 20:26:52 +02:00
commit 920007ad76
6 changed files with 25 additions and 10 deletions

View file

@ -7,7 +7,7 @@ Usage::
"json": "obj"
}
$ echo '{ 1.2:3.4}' | python -m json.tool
Expecting property name enclosed in double quotes: line 1 column 2 (char 2)
Expecting property name enclosed in double quotes: line 1 column 3 (char 2)
"""
import sys