5 ms·
You can monkey-patch your interactive interpreter BTW: >>> type(exit).__repr__ = lambda self: exit() It will exit then the way you want :) Nobody do it for
by ii 17y ago
You can monkey-patch your interactive interpreter BTW:
>>> type(exit).__repr__ = lambda self: exit()
It will exit then the way you want :)
Nobody do it for the sake of overall consistency. Yet you are free to change it with the one line of code.