commit | 49d4022d7d56a027a8be0fc96f58d183bfbc2291 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Thu Feb 21 20:17:54 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Thu Feb 21 20:17:54 2013 +0200 |
tree | 54e47fc16eb2990f9c23b06e16e4473d09091beb | |
parent | 484dee38e665e20f961b18f27a82b3224341c1be [diff] [blame] |
Issue #17225: JSON decoder now counts columns in the first line starting with 1, as in other lines.
diff --git a/Lib/json/tool.py b/Lib/json/tool.py index fe47c52..fc5d749 100644 --- a/Lib/json/tool.py +++ b/Lib/json/tool.py
@@ -7,7 +7,7 @@ "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