by martey · 17y ago · 0 comments
>>> exit = True
>>> exit
True
>>> exit()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'bool' object is not callable
The only way to then exit is Ctrl-D, but the shell will not prompt you to enter it!