]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-125225: Fix column misalignment in help('topics') output (gh-125226) (gh...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 May 2025 15:22:14 +0000 (17:22 +0200)
committerGitHub <noreply@github.com>
Mon, 19 May 2025 15:22:14 +0000 (17:22 +0200)
commit89b744a772978ccd883c289c1a7066c1fb14ac04
tree1e561d29e94449e635c97daf08475ff8a3704e11
parentc869898f39a64113689b4d674b996d678dec2843
[3.14] gh-125225: Fix column misalignment in help('topics') output (gh-125226) (gh-134225)

The 'help("topics")' output was misaligned due to "ASSIGNMENTEXPRESSIONS"
exceeding the implicit maximum default column width of 19 characters.

Reduced the number of columns from 4 to 3 in the listtopics()
function to allow more space for longer topic names.
(cherry picked from commit b22460c44d1bc597c96d4a3d27ad8373d7952820)

Co-authored-by: Étienne Pelletier <EtiennePelletier@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Lib/pydoc.py