4 ms·
ipython has specifically implemented an Autocall that allows you to exit by typing exit, quit, exit() or quit(). https://ipython.readthedocs.io/en/stable/api/g
by gizmo 3y ago
ipython has specifically implemented an Autocall that allows you to exit by typing exit, quit, exit() or quit().
https://ipython.readthedocs.io/en/stable/api/generated/IPython.core.autocall.html#IPython.core.autocall.ExitAutocall https://ipython.readthedocs.io/en/stable/api/generated/IPyth...
And repr(exit) also works fine:
> In [1]: repr(exit)
> Out[1]: '<IPython.core.autocall.ExitAutocall object at 0x102772770>'
Maybe don't be so eager to accuse people of ignorance and toxicity.