At the moment I am killing the Python interpreter with C-d
each time I want to quit Python interpreter.
What is the name of the function to kill the Python interpreter in Python mode (the one which comes with Emacs) so that I can bind it to a key command?
quit()
.