diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-21 18:26:52 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-21 18:26:52 (GMT) |
commit | 920007ad76f1a880e6784ddb97a5c6c99a19b9a9 (patch) | |
tree | e2357a83bd8c806e9cd1383d0696a0c2c02e2bfc /Lib/json/__init__.py | |
parent | fc9bf110a21cd62ffebf36df743777e6d6097cb6 (diff) | |
parent | ed891c151748d030a890d50f3bbce3f581304439 (diff) | |
download | cpython-920007ad76f1a880e6784ddb97a5c6c99a19b9a9.zip cpython-920007ad76f1a880e6784ddb97a5c6c99a19b9a9.tar.gz cpython-920007ad76f1a880e6784ddb97a5c6c99a19b9a9.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/__init__.py')
-rw-r--r-- | Lib/json/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py index 3b23224..3f95cc3 100644 --- a/Lib/json/__init__.py +++ b/Lib/json/__init__.py @@ -96,7 +96,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__ = [ |