SIGN IN SIGN UP

[3.13] gh-140793: Improve documentatation and tests for the ensure_ascii option in the json module (GH-140906) (GH-141228)

* Document that ensure_ascii=True forces escaping not only non-ASCII, but also
  non-printable characters (the only affected ASCII character is U+007F).
* Ensure that the help output for the json module does not exceed 80
  columns (except one long line in an example and generated lines).
* Add more tests.
(cherry picked from commit 7e90bac3cc6fd68fe6696ab4bce1262751de7531)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
be33104f88a62af11b180974f97480ea73fca1ac
Parent: 46d96dc
Committed by GitHub <noreply@github.com> on 11/8/2025, 10:30:15 AM