# Add a code block here, if required
./python
help
Welcome to Python 3.15's help utility! If this is your first time using
Python, you should definitely check out the tutorial at
https://docs.python.org/3.15/tutorial/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules. To get a list of available
modules, keywords, symbols, or topics, enter "modules", "keywords",
"symbols", or "topics".
You can use the following keyboard shortcuts at the main interpreter prompt.
F1: enter interactive help, F2: enter history browsing mode, F3: enter paste
mode (press again to exit).
Each module also comes with a one-line summary of what it does; to list
the modules whose name or summary contain a given string such as "spam",
enter "modules spam".
To quit this help utility and return to the interpreter,
enter "q", "quit" or "exit".
# just enter `enter`
# will back to interpreter
Bug report
Bug description:
in help mode pyrepl default
we enter help to enter the help mode
as doc says
but I just print a
enterit back to interpreterit is not as the doc and not very intuitive
png

CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
helpmode in PyREPL not exit on empty line input #143512helpmode in PyREPL not exit on empty line input (GH-143512) #143519helpmode in PyREPL not exit on empty line input (GH-143512) #143520