Last active
June 29, 2022 22:17
-
-
Save rsheldiii/06595cb20275522b2aa6adecd832c6b0 to your computer and use it in GitHub Desktop.
Use exit and quit instead of exit() and quit() in the cPython REPL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exit.__class__.__repr__ = lambda self: self.__call__() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ... | |
export PYTHONSTARTUP = ~/.pythonstartup.py | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment