Skip to content

gh-148766: Add colour to Python help#148767

Open
hugovk wants to merge 1 commit intopython:mainfrom
hugovk:3.15-help-colour
Open

gh-148766: Add colour to Python help#148767
hugovk wants to merge 1 commit intopython:mainfrom
hugovk:3.15-help-colour

Conversation

@hugovk
Copy link
Copy Markdown
Member

@hugovk hugovk commented Apr 19, 2026

python --help (and especially --help-all) is a monochrome wall of text. Similar to argparse help, let's add some colour to add structure and improve readability.

Here's real screenshots of --help and termshot capture of --help-all:

Before After
--help
--help
--help-all
--help-all

📚 Documentation preview 📚: https://cpython-previews--148767.org.readthedocs.build/

@hugovk hugovk added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review interpreter-core (Objects, Python, Grammar, and Parser dirs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant