Skip to content
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

add exit to builtins #54

Merged
merged 2 commits into from
Nov 26, 2024
Merged

add exit to builtins #54

merged 2 commits into from
Nov 26, 2024

Conversation

nggit
Copy link
Owner

@nggit nggit commented Nov 26, 2024

Before:

import sys

if True:
    sys.exit()

After:

if True:
    exit()

Although exit is almost always available in regular Python, this change is to ensure it is always there.

@nggit nggit merged commit 81400e1 into main Nov 26, 2024
29 checks passed
@nggit nggit deleted the release branch November 26, 2024 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant