2 ms·
> There are two reasonable things that Python could do here: There is a third one. Since exit is a binding to a function, it should print that function. >>>
by kazinator 3y ago
> There are two reasonable things that Python could do here:
There is a third one. Since exit is a binding to a function, it should print that
function.
>>> print
<built-in function print>
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
What? I expect <built-in function exit>