Comment by resonantjacket5
6 years ago
I mean if you did that how would you access 'quit' if it is defined? It's a bit more complicated than it seems.
Though I get your general point.
6 years ago
I mean if you did that how would you access 'quit' if it is defined? It's a bit more complicated than it seems.
Though I get your general point.
You just access it, it's just a normal variable.
Wait... So it’s possible to make it so you can’t use `quit()`? Just overwrite it without saving it?
Yes. You can still send an EOF to quit (ctrl+d), or do "raise SystemExit()" which is all quit() does anyway: