Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
Closed
Description
Bug report
Bug description:
in help mode pyrepl default
we enter help to enter the help mode
as doc says
To quit this help utility and return to the interpreter,
enter "q", "quit" or "exit".
but I just print aenter it back to interpreter
it is not as the doc and not very intuitive
# Add a code block here, if required./pythonhelpWelcome to Python 3.15's help utility! If this is your first time usingPython, you should definitely check out the tutorial athttps://docs.python.org/3.15/tutorial/.Enter the name of any module, keyword, or topic to get help on writingPython programs and using Python modules. To get a list of availablemodules, 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 pastemode (press again to exit).Each module also comes with a one-line summary of what it does; to listthe 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 interpreterCPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
- gh-138568: make it the same behavior in repl help mode #138569
- gh-138568: Make
helpmode in PyREPL not exit on empty line input #143512 - [3.14] gh-138568: Make
helpmode in PyREPL not exit on empty line input (GH-143512) #143519 - [3.13] gh-138568: Make
helpmode in PyREPL not exit on empty line input (GH-143512) #143520
