From b2243452d74b0ca4af11fee37269044ece9f6ca6 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 24 Mar 2013 17:43:57 +0100 Subject: [PATCH] Comment on "opts.merge" in _run_with_profiler --- IPython/core/magics/execution.py | 1 + 1 file changed, 1 insertion(+) diff --git a/IPython/core/magics/execution.py b/IPython/core/magics/execution.py index 1f131bab726..a825b5ac9a2 100644 --- a/IPython/core/magics/execution.py +++ b/IPython/core/magics/execution.py @@ -198,6 +198,7 @@ def _run_with_profiler(self, code, opts, namespace): """ + # Fill default values for unspecified options: opts.merge(Struct(D=[''], l=[], s=['time'], T=[''])) prof = profile.Profile()