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:19:16 +02:00
parent a2964b3175
commit c510a048ba
5 changed files with 7 additions and 4 deletions

View file

@ -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 enclosed in double quotes: line 1 column 2 (char 2)
Expecting property name enclosed in double quotes: line 1 column 3 (char 2)
"""
__version__ = '2.0.9'
__all__ = [