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@python
components: Documentation
messages: 183293
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue17332>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to