]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-125225: Fix column misalignment in help('topics') output (gh-125226)
authorÉtienne Pelletier <EtiennePelletier@users.noreply.github.com>
Mon, 19 May 2025 14:10:17 +0000 (10:10 -0400)
committerGitHub <noreply@github.com>
Mon, 19 May 2025 14:10:17 +0000 (16:10 +0200)
commitb22460c44d1bc597c96d4a3d27ad8373d7952820
treeaf9d10c491b7de100b05de8d3f2afefb539fe273
parentee36db550076e5a9185444ffbc53eaf8157ef04c
gh-125225: Fix column misalignment in help('topics') output (gh-125226)

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.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Lib/pydoc.py