summaryrefslogtreecommitdiff
path: root/Lib/json/tool.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-21 20:21:21 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-21 20:21:21 +0200
commited891c151748d030a890d50f3bbce3f581304439 (patch)
tree39a735381b7cd0272264e15a276aa22c00ad279f /Lib/json/tool.py
parent9d202ba25287fca890d051abda575bf74d9cda5f (diff)
parentc510a048ba4f17a82fff0a452bf9ccd29b51efc6 (diff)
downloadcpython-git-ed891c151748d030a890d50f3bbce3f581304439.tar.gz
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 0f108c6dae..ecf9c47885 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