]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150285: Fix overflow in too long lines for class data in pydoc (GH-151366)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 11 Jun 2026 17:50:00 +0000 (20:50 +0300)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 17:50:00 +0000 (20:50 +0300)
commitd2e27aca4bd9da956b40914b1bb840896f2566ec
treeddb44ea836ae7c1c04c9829f48bcbbd4e4aee00a
parent402668b2b1a63a2b3cfd7a2ede07f6786f9beb8e
gh-150285: Fix overflow in too long lines for class data in pydoc (GH-151366)

Use all available space (80 columns) for formatting reprs
of module and class data, but ensure that they do not overflow.
Lib/pydoc.py
Misc/NEWS.d/next/Library/2026-06-11-19-46-16.gh-issue-150285.wuhAsL.rst [new file with mode: 0644]