|
|
|
|
|
by devjam
900 days ago
|
|
> The fact that the Python REPL provides a helpful hint seems like extra effort to make your life easier. I agree; Python is actually helping you out here, since just typing `exit` doesn't actually call the callable. Also, Python being Python, while not recommended, there's nothing stopping the user from assigning to `exit` then printing it in the repl: >>> exit = 42
>>> exit
42
What would the author expect Python to do in this instance? |
|