mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.
This commit is contained in:
parent
24319ac407
commit
2d24e94bbe
5 changed files with 14 additions and 12 deletions
|
@ -7,7 +7,7 @@ Usage::
|
|||
"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)
|
||||
|
||||
"""
|
||||
import sys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue