]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-125225: Fix column misalignment in help('topics') output (gh-125226) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 May 2025 15:34:31 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Mon, 19 May 2025 15:34:31 +0000 (17:34 +0200)
commitc1e47702a2dcdc7a7e22baaea394927080cf6300
tree058a15f08b344e9683672c10db5ddd8587051b74
parent08c9ba5b72452e8493766765e61510be82b706b3
[3.13] gh-125225: Fix column misalignment in help('topics') output (gh-125226) (#134226)

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