Skip to content

gh-123369: IDLE now support for REPL-specific commands, like help exit license and quit without the need to call them as functions #123525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Wulian233
Copy link
Contributor

@Wulian233 Wulian233 commented Aug 31, 2024

In the Shell, you can call exit() and quit() to close the Shell.
If the new interactive interpreter is enabled,
IDLE also supports using exit and quit without the need to call them
as functions. If this is the only window, closing it will also exit IDLE.

2024-08-31 104854

This solution is simple, just replaces what was entered

Not change help.html, still 3.13 alpha
https://github.com/python/cpython/blob/main/Lib/idlelib/help.html


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

license and quit, without the need to call them as functions.
@Wulian233 Wulian233 requested a review from terryjreedy as a code owner August 31, 2024 02:47
@Wulian233 Wulian233 changed the title gh-123369: gh-123369: IDLE now support for REPL-specific commands, like help, exit, license and quit, without the need to call them as functions gh-123369: IDLE now support for REPL-specific commands, like help exit license and quit without the need to call them as functions Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant