[docs] Documentation typo in json docs

Eliot Alter eliot at yelp.com
Fri Sep 19 18:51:36 CEST 2014


https://docs.python.org/2/library/json.html

When describing how to use json.tool, you provide the following example
code:

$ echo '{"json":"obj"}' | python *-mjson.tool*
{
    "json": "obj"
}
$ echo '{1.2:3.4}' | python *-mjson.tool*
Expecting property name enclosed in double quotes: line 1 column 2 (char 1)


However, there is no space between the *-m* and the *json.tool*. There
should be a space in those 2 places.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20140919/82c6abb9/attachment.html>


More information about the docs mailing list