summaryrefslogtreecommitdiffstats
path: root/Lib/json/tool.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-21 18:17:54 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-21 18:17:54 (GMT)
commit49d4022d7d56a027a8be0fc96f58d183bfbc2291 (patch)
tree54e47fc16eb2990f9c23b06e16e4473d09091beb /Lib/json/tool.py
parent484dee38e665e20f961b18f27a82b3224341c1be (diff)
downloadcpython-49d4022d7d56a027a8be0fc96f58d183bfbc2291.zip
cpython-49d4022d7d56a027a8be0fc96f58d183bfbc2291.tar.gz
cpython-49d4022d7d56a027a8be0fc96f58d183bfbc2291.tar.bz2
Issue #17225: JSON decoder now counts columns in the first line starting
with 1, as in other lines.
Diffstat (limited to 'Lib/json/tool.py')
-rw-r--r--Lib/json/tool.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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