From c510a048ba4f17a82fff0a452bf9ccd29b51efc6 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Thu, 21 Feb 2013 20:19:16 +0200 Subject: Issue #17225: JSON decoder now counts columns in the first line starting with 1, as in other lines. --- Lib/json/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/json/tool.py') 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 -- cgit v1.2.1