[issue17332] typo in json docs - "convered" should be "converted"
Ernie Hershey
report at bugs.python.org
Fri Mar 1 22:31:03 CET 2013
New submission from Ernie Hershey:
Hi,
On these pages:
http://docs.python.org/3.4/library/json.html
http://docs.python.org/3.3/library/json.html
http://docs.python.org/3.2/library/json.html
http://docs.python.org/2/library/json.html
http://docs.python.org/2.6/library/json.html
This line says "convered" but should be "converted."
Note Keys in key/value pairs of JSON are always of the type str. When a dictionary is converted into JSON, all the keys of the dictionary are coerced to strings. As a result of this, if a dictionary is convered into JSON and then back into a dictionary, the dictionary may not equal the original one. That is, loads(dumps(x)) != x if x has non-string keys.
----------
assignee: docs at python
components: Documentation
messages: 183293
nosy: docs at python, ernest
priority: normal
severity: normal
status: open
title: typo in json docs - "convered" should be "converted"
type: enhancement
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17332>
_______________________________________
More information about the Python-bugs-list
mailing list