Issue 17332: typo in json docs - "convered" should be "converted" (original) (raw)
Issue17332
This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/61534
classification
Title: | typo in json docs - "convered" should be "converted" | ||
---|---|---|---|
Type: | behavior | Stage: | resolved |
Components: | Documentation | Versions: | Python 3.2, Python 3.3, Python 3.4, Python 2.7 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | terry.reedy | Nosy List: | docs@python, ernest, python-dev, terry.reedy |
Priority: | normal | Keywords: | easy |
Created on 2013-03-01 21:31 by ernest, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg183293 - (view) | Author: Ernie Hershey (ernest) | Date: 2013-03-01 21:31 |
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. | ||
msg183777 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2013-03-09 00:40 |
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 | ||
msg183778 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2013-03-09 00:42 |
Thanks for the report. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:42 | admin | set | github: 61534 |
2013-03-09 00:42:10 | terry.reedy | set | status: open -> closedtype: enhancement -> behaviormessages: + resolution: fixedstage: needs patch -> resolved |
2013-03-09 00:40:59 | python-dev | set | nosy: + python-devmessages: + |
2013-03-09 00:25:16 | terry.reedy | set | assignee: docs@python -> terry.reedynosy: + terry.reedy |
2013-03-04 17:29:57 | serhiy.storchaka | set | keywords: + easystage: needs patchversions: - Python 2.6, Python 3.1, Python 3.5 |
2013-03-01 21:31:03 | ernest | create |
Supported by The Python Software Foundation,
Powered by Roundup
Copyright © 1990-2022, Python Software Foundation
Legal Statements