From 2d24e94bbef97913b5fc434f991fa429f1533557 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 29 Jun 2012 01:58:26 +0200 Subject: Issue #5067: improve some json error messages. Patch by Serhiy Storchaka. --- Lib/json/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/json/__init__.py') diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py index ba2bc1d342..725b5cdc88 100644 --- a/Lib/json/__init__.py +++ b/Lib/json/__init__.py @@ -97,7 +97,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: line 1 column 2 (char 2) + Expecting property name enclosed in double quotes: line 1 column 2 (char 2) """ __version__ = '2.0.9' __all__ = [ -- cgit v1.2.1