[issue17332] typo in json docs - "convered" should be "converted"
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 <report@bugs.python.org> <http://bugs.python.org/issue17332> _______________________________________
Changes by Serhiy Storchaka <storchaka@gmail.com>: ---------- keywords: +easy stage: -> needs patch versions: -Python 2.6, Python 3.1, Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17332> _______________________________________
Changes by Terry J. Reedy <tjreedy@udel.edu>: ---------- assignee: docs@python -> terry.reedy nosy: +terry.reedy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17332> _______________________________________
Roundup Robot added the comment: New changeset 9bd2fc35f311 by Terry Jan Reedy in branch '2.7': Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. http://hg.python.org/cpython/rev/9bd2fc35f311 New changeset 55fd9810c9ab by Terry Jan Reedy in branch '3.2': Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. http://hg.python.org/cpython/rev/55fd9810c9ab New changeset 8817a09e012c by Terry Jan Reedy in branch '3.3': Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. http://hg.python.org/cpython/rev/8817a09e012c New changeset d86f5686cef9 by Terry Jan Reedy in branch 'default': Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. http://hg.python.org/cpython/rev/d86f5686cef9 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17332> _______________________________________
Terry J. Reedy added the comment: Thanks for the report. ---------- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: enhancement -> behavior _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17332> _______________________________________
participants (4)
-
Ernie Hershey -
Roundup Robot -
Serhiy Storchaka -
Terry J. Reedy