From eafa08d058128094581c820d5f64a53dd25bd602 2010-01-16 23:24:18 From: Fernando Perez Date: 2010-01-16 23:24:18 Subject: [PATCH] Added %exit, %quit and %Quit as magics for consistency. --- diff --git a/IPython/core/magic.py b/IPython/core/magic.py index 3a95a94..615f545 100644 --- a/IPython/core/magic.py +++ b/IPython/core/magic.py @@ -2537,6 +2537,9 @@ Defaulting color scheme to 'NoColor'""" self.shell.ask_exit() + # Add aliases as magics so all common forms work: exit, quit, Exit, Quit. + magic_exit = magic_quit = magic_Quit = magic_Exit + #...................................................................... # Functions to implement unix shell-type things