[issue46157] Typo in JSON documentation

2022-01-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.10, Python 3.9 ___ Python tracker ___

[issue46157] Typo in JSON documentation

2022-01-24 Thread jiahua wang
Change by jiahua wang : -- nosy: +wangjiahua nosy_count: 5.0 -> 6.0 pull_requests: +29028 pull_request: https://github.com/python/cpython/pull/30846 ___ Python tracker ___

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Kumar Aditya added the comment: Fixed in a new PR @Serhiy -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Change by Kumar Aditya : -- pull_requests: +28461 pull_request: https://github.com/python/cpython/pull/30239 ___ Python tracker ___

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 30237 introduced few new errors. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46157] Typo in JSON documentation

2021-12-23 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 71ef0b4c2b77195bb1adc42602549284f7ee9566 by Kumar Aditya in branch 'main': bpo-46157: fix typo in docs (GH-30237) https://github.com/python/cpython/commit/71ef0b4c2b77195bb1adc42602549284f7ee9566 -- nosy: +asvetlov

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And more errors can be found with: $ find -name '*.rst' -exec egrep --color -i '\ban +[qwrtpsdfghjklzxcvbnm]' '{}' + $ find -name '*.rst' -exec egrep --color -i '\ba +[eioa]' '{}' + It is worth to check also: $ find -name '*.rst' -exec egrep --color -i

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Kumar Aditya added the comment: I have fixed most of them in the PR which I found correct, rest can be fixed later on. -- ___ Python tracker ___

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Kumar. These errors were found with the following one-liners: $ find -name '*.rst' -exec egrep --color -i '\ban +:[a-z:]+:`[qwrtpsdfghjklzxcvbnm]' '{}' + $ find -name '*.rst' -exec egrep --color -i '\ba +:[a-z:]+:`[eyuioa]' '{}' + They produce

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Doc/using/cmdline.rst:474: * ``-X warn_default_encoding`` issues a :class:`EncodingWarning` when the Doc/c-api/init_config.rst:601: If non-zero, emit a :exc:`EncodingWarning` warning when :class:`io.TextIOWrapper` Doc/library/fractions.rst:90:

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Kumar Aditya added the comment: I'll fix them all :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46157] Typo in JSON documentation

2021-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are other similar errors: Doc/library/json.rst:162: will result in an :exc:`RecursionError` (or worse). Doc/library/json.rst:435: prevent an infinite recursion (which would cause an :exc:`RecursionError`). Doc/library/tarfile.rst:66: |

[issue46157] Typo in JSON documentation

2021-12-23 Thread Kumar Aditya
Change by Kumar Aditya : -- keywords: +patch nosy: +kumaraditya303 nosy_count: 2.0 -> 3.0 pull_requests: +28458 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30237 ___ Python tracker

[issue46157] Typo in JSON documentation

2021-12-22 Thread Jordan Bonecutter
New submission from Jordan Bonecutter : In this doc: https://docs.python.org/3/library/json.html#json.dump The section on check_circular has a typo: ...a circular reference will result in an RecursionError => a RecursionError -- assignee: docs@python components: Documentation