From 01ddba052db45f0077a7a997d56feaab89ec74c0 2012-01-26 00:03:59 From: Paul Ivanov Date: 2012-01-26 00:03:59 Subject: [PATCH] make %reset arguments case insensitive. --- diff --git a/IPython/core/magic.py b/IPython/core/magic.py index 4868092..4c57e6e 100644 --- a/IPython/core/magic.py +++ b/IPython/core/magic.py @@ -1039,6 +1039,7 @@ Currently the magic system has the following functions:\n""" user_ns = self.user_ns # local lookup, heavily used for target in args: + target = target.lower() # make matches case insensitive if target == 'out': print "Flushing output cache (%d entries)" % len(user_ns['_oh']) self.displayhook.flush()